Skip to content

Commit 7d7c5f7

Browse files
committed
update linting to use semi-standard
Signed-off-by: Michael Dawson <[email protected]>
1 parent 94a7653 commit 7d7c5f7

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

.eslintrc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"extends": "semistandard"}

package.json

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
"support": "./bin/support"
2020
},
2121
"scripts": {
22-
"test": "standard && mocha --delay",
22+
"pretest": "eslint --ignore-path .gitignore .",
23+
"test": "mocha --delay",
2324
"prepublishOnly": "npm test",
2425
"postpublish": "git push origin && git push origin --tags"
2526
},
@@ -33,9 +34,15 @@
3334
"yargs": "^15.0.2"
3435
},
3536
"devDependencies": {
37+
"eslint": "^7.5.0",
38+
"eslint-config-semistandard": "^15.0.1",
39+
"eslint-config-standard": "^14.1.1",
40+
"eslint-plugin-import": "^2.22.0",
41+
"eslint-plugin-node": "^11.1.0",
42+
"eslint-plugin-promise": "^4.2.1",
43+
"eslint-plugin-standard": "^4.0.1",
3644
"fs-extra": "^8.1.0",
37-
"mocha": "^6.2.0",
38-
"standard": "^14.0.2"
45+
"mocha": "^6.2.0"
3946
},
4047
"engines": {
4148
"node": "^14 || ^13 || ^12 || ^11 || ^10 || ^8 || ^6"

0 commit comments

Comments
 (0)