mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
Add prettier husky
This commit is contained in:
1 parent
a4ebacba0d
commit
d36cb53106
7 files changed
+329
-62
No files matched your search
@@ -8,8 +8,11 @@
|
||||
"@testing-library/jest-dom": "^4.2.4",
|
||||
"@testing-library/react": "^9.5.0",
|
||||
"@testing-library/user-event": "^7.2.1",
|
||||
"husky": "^4.2.5",
|
||||
"i18next": "^19.7.0",
|
||||
"lint-staged": "^10.2.11",
|
||||
"lodash": "^4.17.20",
|
||||
"prettier": "^2.0.5",
|
||||
"react": "^16.13.1",
|
||||
"react-dom": "^16.13.1",
|
||||
"react-hotkeys": "^2.0.0",
|
||||
@@ -38,5 +41,15 @@
|
||||
"last 1 firefox version",
|
||||
"last 1 safari version"
|
||||
]
|
||||
},
|
||||
"lint-staged": {
|
||||
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
|
||||
"prettier --write"
|
||||
]
|
||||
},
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"pre-commit": "lint-staged"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user