Skip to content

Commit 890dccf

Browse files
committed
- npm: Update lint-staged per latest (advanced configs removed and git add handled automatically)
1 parent 81125ae commit 890dccf

File tree

1 file changed

+11
-17
lines changed

1 file changed

+11
-17
lines changed

package.json

Lines changed: 11 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"homepage": "https://github.com/xjamundx/eslint-plugin-promise",
1818
"bugs": "https://github.com/xjamundx/eslint-plugin-promise/issues",
1919
"scripts": {
20-
"precommit": "lint-staged",
20+
"precommit": "lint-staged --concurrent false",
2121
"test": "jest",
2222
"lint": "eslint rules __tests__ index.js"
2323
},
@@ -41,22 +41,16 @@
4141
},
4242
"license": "ISC",
4343
"lint-staged": {
44-
"concurrent": false,
45-
"linters": {
46-
"{README.md,CONTRIBUTING.md}": [
47-
"doctoc --maxlevel 3 --notitle",
48-
"git add"
49-
],
50-
"*.js": [
51-
"prettier --write",
52-
"eslint --fix",
53-
"git add"
54-
],
55-
"*.+(json|md)": [
56-
"prettier --write",
57-
"git add"
58-
]
59-
}
44+
"{README.md,CONTRIBUTING.md}": [
45+
"doctoc --maxlevel 3 --notitle"
46+
],
47+
"*.js": [
48+
"prettier --write",
49+
"eslint --fix"
50+
],
51+
"*.+(json|md)": [
52+
"prettier --write"
53+
]
6054
},
6155
"prettier": {
6256
"semi": false,

0 commit comments

Comments
 (0)