We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea6536b commit 1716b4fCopy full SHA for 1716b4f
package.json
@@ -18,7 +18,7 @@
18
"bugs": "https://github.com/xjamundx/eslint-plugin-promise/issues",
19
"scripts": {
20
"format": "prettier --write .",
21
- "lint": "eslint .",
+ "lint": "eslint . && prettier -c .",
22
"prepare": "husky install",
23
"test": "jest --coverage"
24
},
@@ -45,16 +45,9 @@
45
46
"license": "ISC",
47
"lint-staged": {
48
- "{README.md,CONTRIBUTING.md}": [
49
- "doctoc --maxlevel 3 --notitle"
50
- ],
51
- "*.js": [
52
- "prettier --write",
53
- "eslint --fix"
54
55
- "*.+(json|md)": [
56
- "prettier --write"
57
- ]
+ "{README.md,CONTRIBUTING.md}": "doctoc --maxlevel 3 --notitle",
+ "*.js": "eslint --fix",
+ "*": "prettier --write --ignore-unknown"
58
59
"prettier": {
60
"semi": false,
0 commit comments