Skip to content

Commit

Permalink
chore(deps): update dependency eslint-plugin-emotion to v11 (#4594)
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Nov 18, 2020
1 parent 9741a79 commit 8326e8e
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -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': [
Expand All @@ -37,7 +37,7 @@ module.exports = {
},
],
},
plugins: ['babel', 'emotion', 'cypress'],
plugins: ['babel', '@emotion', 'cypress'],
settings: {
react: {
version: 'detect',
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions packages/netlify-cms-default-exports/src/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// eslint-disable-next-line @emotion/no-vanilla
import css from '@emotion/css';
import {
withEmotionCache,
Expand Down
2 changes: 1 addition & 1 deletion setupTestFramework.js
Original file line number Diff line number Diff line change
@@ -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';

Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]":
version "0.8.0"
resolved "https://registry.yarnpkg.com/@emotion/hash/-/hash-0.8.0.tgz#bbbff68978fefdbe68ccb533bc8cbe1d1afb5413"
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 8326e8e

Please sign in to comment.