Skip to content

Commit 7d24ad6

Browse files
committed
fix(lint): add lint-staged config
1 parent b7ca91b commit 7d24ad6

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

package.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,5 +117,13 @@
117117
"typescript-eslint": "^7.7.0",
118118
"vitest": "^1.1.3"
119119
},
120+
"lint-staged": {
121+
"*.{js, jsx,ts,tsx}": [
122+
"eslint --quiet --fix"
123+
],
124+
"*.{json,js,ts,jsx,tsx,html}": [
125+
"prettier --write --ignore-unknown"
126+
]
127+
},
120128
"packageManager": "[email protected]"
121129
}

0 commit comments

Comments
 (0)