Skip to content

Commit cb16e31

Browse files
committed
chore: update lint-staged configuration to include ESLint for JS/TS files
1 parent 65c8528 commit cb16e31

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.lintstagedrc.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
{
2-
"*.{js,jsx,ts,tsx}": "prettier --write --no-error-on-unmatched-pattern --config prettier-config/.prettierrc.js",
2+
"*.{js,jsx,ts,tsx}": [
3+
"eslint --fix --no-error-on-unmatched-pattern",
4+
"prettier --write --no-error-on-unmatched-pattern --config prettier-config/.prettierrc.js"
5+
],
36
"*.{md,html,json}": "prettier --write --config prettier-config/.prettierrc.js",
47
"*.sol": "prettier --write --config prettier-config/.prettierrc.js"
58
}

0 commit comments

Comments
 (0)