Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

"plugins": [
"import",
"node",
"n",
"promise"
],

Expand Down Expand Up @@ -230,13 +230,13 @@
"import/no-named-default": "error",
"import/no-webpack-loader-syntax": "error",

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

"promise/param-names": "error"
}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ The above steps will automatically set up an ESLint configuration and install th
**If you want to set up the config manually**, run the following command:

```bash
npm install --save-dev eslint-config-standard eslint-plugin-promise eslint-plugin-import eslint-plugin-node
npm install --save-dev eslint-config-standard eslint-plugin-promise eslint-plugin-import eslint-plugin-n
```

Then, add this to your `.eslintrc` file:
Expand Down
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
"url": "https://github.com/standard/eslint-config-standard/issues"
},
"devDependencies": {
"eslint": "^7.12.1",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"tape": "^5.0.1"
"eslint": "^8.5.0",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-n": "^14.0.0",
"eslint-plugin-promise": "^6.0.0",
"tape": "^5.3.2"
},
"homepage": "https://github.com/standard/eslint-config-standard",
"keywords": [
Expand Down Expand Up @@ -47,10 +47,10 @@
"license": "MIT",
"main": "index.js",
"peerDependencies": {
"eslint": "^7.12.1",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1 || ^5.0.0"
"eslint": "^8.0.1",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-n": "^14.0.0",
"eslint-plugin-promise": "^6.0.0"
},
"repository": {
"type": "git",
Expand Down