Skip to content

Commit

Permalink
Update @metamask/eslint-config from v3 to v4.1.0 (#344)
Browse files Browse the repository at this point in the history
This update includes the update from `eslint` v6 to v7. In this
release the Node.js-specific rules were broken out into a separate
plugin (`eslint-plugin-node`), which is now also required.

Any broken rules have been temporarily disabled, to be addressed in a
future PR.
  • Loading branch information
Gudahtt committed Feb 11, 2021
1 parent 99e2b12 commit 123f864
Show file tree
Hide file tree
Showing 3 changed files with 241 additions and 268 deletions.
3 changes: 3 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ module.exports = {
},
],

'accessor-pairs': 'off',
'camelcase': 'off',
'consistent-return': 'off',
'default-case': 'off',
Expand All @@ -75,6 +76,8 @@ module.exports = {
'radix': 'off',
'require-atomic-updates': 'off',

'node/no-extraneous-require': 'off',

'jest/expect-expect': 'off',
'jest/no-test-return-statement': 'off',
'jest/no-truthy-falsy': 'off',
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,17 +58,18 @@
"web3-provider-engine": "^16.0.1"
},
"devDependencies": {
"@metamask/eslint-config": "^3.0.0",
"@metamask/eslint-config": "^4.1.0",
"@types/fetch-mock": "^7.3.1",
"@types/jest": "^22.2.3",
"@types/node": "^10.1.4",
"@types/sinon": "^4.3.3",
"@types/web3": "^1.0.6",
"@typescript-eslint/eslint-plugin": "^4.1.0",
"@typescript-eslint/parser": "^4.1.0",
"eslint": "^6.8.0",
"eslint": "^7.19.0",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-jest": "^23.6.0",
"eslint-plugin-node": "^11.1.0",
"ethjs-provider-http": "^0.1.6",
"fetch-mock": "^9.10.7",
"jest": "^26.4.2",
Expand Down
Loading

0 comments on commit 123f864

Please sign in to comment.