Skip to content

Commit

Permalink
feat!: remove eslint-plugin-jest dependency (resolves #180)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: You have to manually add jest plugin and `jest/globals` to the `env` object in eslint config
  • Loading branch information
pi0 committed May 2, 2022
1 parent 80f0b89 commit 952edbb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 1 addition & 3 deletions packages/eslint-config/index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
module.exports = {
env: {
browser: true,
node: true,
'jest/globals': true
node: true
},
extends: [
'standard',
Expand All @@ -11,7 +10,6 @@ module.exports = {
'plugin:vue/recommended'
],
plugins: [
'jest',
'unicorn',
'vue'
],
Expand Down
1 change: 0 additions & 1 deletion packages/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"dependencies": {
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^26.1.5",
"eslint-plugin-n": "^15.2.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.0.0",
Expand Down

0 comments on commit 952edbb

Please sign in to comment.