chore(deps): update dependency eslint-plugin-emotion to v11 (#4594)
This commit is contained in:
parent
9741a79e49
commit
8326e8e47b
@ -25,9 +25,9 @@ module.exports = {
|
||||
'no-console': [0],
|
||||
'react/prop-types': [0],
|
||||
'no-duplicate-imports': 'error',
|
||||
'emotion/no-vanilla': 'error',
|
||||
'emotion/import-from-emotion': 'error',
|
||||
'emotion/styled-import': 'error',
|
||||
'@emotion/no-vanilla': 'error',
|
||||
'@emotion/import-from-emotion': 'error',
|
||||
'@emotion/styled-import': 'error',
|
||||
'require-atomic-updates': [0],
|
||||
'object-shorthand': ['error', 'always'],
|
||||
'prefer-const': [
|
||||
@ -37,7 +37,7 @@ module.exports = {
|
||||
},
|
||||
],
|
||||
},
|
||||
plugins: ['babel', 'emotion', 'cypress'],
|
||||
plugins: ['babel', '@emotion', 'cypress'],
|
||||
settings: {
|
||||
react: {
|
||||
version: 'detect',
|
||||
|
@ -86,6 +86,7 @@
|
||||
"@babel/preset-typescript": "^7.10.4",
|
||||
"@commitlint/cli": "^11.0.0",
|
||||
"@commitlint/config-conventional": "^11.0.0",
|
||||
"@emotion/eslint-plugin": "^11.0.0",
|
||||
"@octokit/rest": "^16.28.7",
|
||||
"@storybook/addon-actions": "^5.3.6",
|
||||
"@storybook/addon-links": "^5.3.6",
|
||||
@ -128,7 +129,6 @@
|
||||
"dotenv": "^8.0.0",
|
||||
"eslint": "^7.0.0",
|
||||
"eslint-plugin-cypress": "^2.6.0",
|
||||
"eslint-plugin-emotion": "^10.0.7",
|
||||
"eslint-plugin-import": "^2.18.2",
|
||||
"eslint-plugin-prettier": "^3.1.1",
|
||||
"eslint-plugin-react": "^7.17.0",
|
||||
|
@ -1,3 +1,4 @@
|
||||
// eslint-disable-next-line @emotion/no-vanilla
|
||||
import css from '@emotion/css';
|
||||
import {
|
||||
withEmotionCache,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* eslint-disable emotion/no-vanilla */
|
||||
/* eslint-disable @emotion/no-vanilla */
|
||||
import '@testing-library/jest-dom/extend-expect';
|
||||
import fetch from 'node-fetch';
|
||||
|
||||
|
10
yarn.lock
10
yarn.lock
@ -1287,6 +1287,11 @@
|
||||
"@emotion/utils" "0.11.3"
|
||||
babel-plugin-emotion "^10.0.27"
|
||||
|
||||
"@emotion/eslint-plugin@^11.0.0":
|
||||
version "11.0.0"
|
||||
resolved "https://registry.yarnpkg.com/@emotion/eslint-plugin/-/eslint-plugin-11.0.0.tgz#7666b750df62dc33a93bb1e09086f1caaecadc6f"
|
||||
integrity sha512-V5w/LgV61xta+U6LKht3WQqfjTLueU2mh1aRTcK5OfkRhZ4OZFE0Inq/oVwLCq5g3Hzoaq27PRm+Tk9W18QScw==
|
||||
|
||||
"@emotion/hash@0.8.0":
|
||||
version "0.8.0"
|
||||
resolved "https://registry.yarnpkg.com/@emotion/hash/-/hash-0.8.0.tgz#bbbff68978fefdbe68ccb533bc8cbe1d1afb5413"
|
||||
@ -7816,11 +7821,6 @@ eslint-plugin-cypress@^2.6.0:
|
||||
dependencies:
|
||||
globals "^11.12.0"
|
||||
|
||||
eslint-plugin-emotion@^10.0.7:
|
||||
version "10.0.27"
|
||||
resolved "https://registry.yarnpkg.com/eslint-plugin-emotion/-/eslint-plugin-emotion-10.0.27.tgz#577a4265cc679f7bb826437a92fb9d709928e0a7"
|
||||
integrity sha512-0IG9KWmyQTAWZNM4WoGjFbdre1Xq6uMp2jYOSHvh3ZNcDfOjOLXeH3ky1MuWZlbWIHxz/Ed5DMGlJAeKnd26VA==
|
||||
|
||||
eslint-plugin-import@^2.18.2:
|
||||
version "2.22.1"
|
||||
resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.22.1.tgz#0896c7e6a0cf44109a2d97b95903c2bb689d7702"
|
||||
|
Loading…
x
Reference in New Issue
Block a user