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:
David Négrier 2021-06-23 10:10:53 +02:00
parent ee07f637fa
commit bdc4b43c17
6 changed files with 249 additions and 9 deletions

8
package.json Normal file
View file

@ -0,0 +1,8 @@
{
"devDependencies": {
"husky": "^6.0.0"
},
"scripts": {
"prepare": "husky install"
}
}