Configured lint-staged
parent
40685b05
No related branches found
No related tags found
... | ... | @@ -42,9 +42,6 @@ |
"pre-commit": "lint-staged" | ||
} | ||
}, | ||
"lint-staged": { | ||
"*.tsx": ["eslint --fix", "prettier --write", "git add"] | ||
} | ||
"devDependencies": { | ||
"@typescript-eslint/eslint-plugin": "^4.18.0", | ||
"@typescript-eslint/parser": "^4.18.0", | ||
... | ... | @@ -57,7 +54,7 @@ |
"eslint-plugin-prettier": "^3.3.1", | ||
"eslint-plugin-react": "^7.20.0", | ||
"eslint-plugin-react-hooks": "^4", | ||
"husky": "^5.1.3", | ||
"husky": "=4", | ||
"lint-staged": "^10.5.4", | ||
"mrm": "^2.6.0", | ||
"prettier": "2.2.1" | ||
... | ... |
Please register or sign in to comment