Skip to content

Commit d80a190

Browse files
committed
chore: Clean up lint-staged config
1 parent 1261891 commit d80a190

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

package.json

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -251,24 +251,14 @@
251251
}
252252
},
253253
"lint-staged": {
254-
"*.{ts,tsx,js}": [
254+
"*.{js,ts,tsx}": [
255255
"eslint --fix",
256256
"git add"
257257
],
258-
"*.css": [
258+
"*.{js,ts,tsx,md,css,json}": [
259259
"prettier --write",
260260
"git add"
261-
],
262-
"*.md": [
263-
"prettier --write",
264-
"git add"
265-
],
266-
"*.{ts,tsx,js,md,css}": [
267-
"prettier --write",
268-
"git add"
269-
],
270-
"*.{js,ts,tsx}": "eslint --cache --fix",
271-
"*.{js,md}": "prettier --write"
261+
]
272262
},
273263
"funding": {
274264
"type": "opencollective",

0 commit comments

Comments
 (0)