Skip to content
Snippets Groups Projects
Verified Commit 4bf398ec authored by Defendi Alberto's avatar Defendi Alberto
Browse files

Pre commit hooks

parent a09be08a
No related branches found
No related tags found
1 merge request!6Installed lint-staged
{
"*.tsx": ["eslint --fix", "prettier --write"]
}
\ No newline at end of file
......@@ -37,6 +37,11 @@
"last 1 safari version"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^4.18.0",
"@typescript-eslint/parser": "^4.18.0",
......@@ -49,6 +54,8 @@
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-react": "^7.20.0",
"eslint-plugin-react-hooks": "^4",
"lint-staged": "^10.5.4",
"mrm": "^2.6.0",
"prettier": "2.2.1"
}
}
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment