Skip to content

Commit

Permalink
Update to rules moved out from ESLint 7
Browse files Browse the repository at this point in the history
  • Loading branch information
LinusU committed May 11, 2020
1 parent 3f4a3fe commit 39982fc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
"eqeqeq": ["error", "always", { "null": "ignore" }],
"func-call-spacing": ["error", "never"],
"generator-star-spacing": ["error", { "before": true, "after": true }],
"handle-callback-err": ["error", "^(err|error)$" ],
"indent": ["error", 2, {
"SwitchCase": 1,
"VariableDeclarator": 1,
Expand Down Expand Up @@ -125,13 +124,11 @@
"no-new": "error",
"no-new-func": "error",
"no-new-object": "error",
"no-new-require": "error",
"no-new-symbol": "error",
"no-new-wrappers": "error",
"no-obj-calls": "error",
"no-octal": "error",
"no-octal-escape": "error",
"no-path-concat": "error",
"no-proto": "error",
"no-redeclare": ["error", { "builtinGlobals": false }],
"no-regex-spaces": "error",
Expand Down Expand Up @@ -205,7 +202,10 @@
"import/no-named-default": "error",
"import/no-webpack-loader-syntax": "error",

"node/handle-callback-err": ["error", "^(err|error)$" ],
"node/no-deprecated-api": "error",
"node/no-new-require": "error",
"node/no-path-concat": "error",
"node/process-exit-as-throw": "error",

"promise/param-names": "error",
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"devDependencies": {
"eslint": "^6.2.2",
"eslint-plugin-import": "^2.18.0",
"eslint-plugin-node": "^10.0.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.0",
"tape": "^4.8.0"
Expand Down Expand Up @@ -50,7 +50,7 @@
"peerDependencies": {
"eslint": ">=6.2.2",
"eslint-plugin-import": ">=2.18.0",
"eslint-plugin-node": ">=9.1.0",
"eslint-plugin-node": ">=11.1.0",
"eslint-plugin-promise": ">=4.2.1",
"eslint-plugin-standard": ">=4.0.0"
},
Expand Down

0 comments on commit 39982fc

Please sign in to comment.