Setting up prettier
In order not to wreak havoc on all the open PRs, Prettier will be added slowly, on every changed file, thanks to Husky (for a precommit hook) and lint-staged, for linting only staged files.
This commit is contained in:
parent
ee07f637fa
commit
bdc4b43c17
6 changed files with 249 additions and 9 deletions
8
package.json
Normal file
8
package.json
Normal file
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"devDependencies": {
|
||||
"husky": "^6.0.0"
|
||||
},
|
||||
"scripts": {
|
||||
"prepare": "husky install"
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue