Should be double 'm' in 'commit' + added more formats that should be processed by prettier.
This commit is contained in:
parent
4452ee01c0
commit
5e2ee1955a
@ -10,7 +10,7 @@
|
||||
"test:watch": "jest --watch",
|
||||
"test:coverage": "jest --coverage",
|
||||
"format": "prettier --single-quote --write .",
|
||||
"pre-comit": "echo 'formating your changes.....' && prettier --single-quote --write"
|
||||
"pre-commit": "echo 'formating your changes.....' && prettier --single-quote --write"
|
||||
},
|
||||
"dependencies": {
|
||||
"bytes": "^3.1.0",
|
||||
@ -45,6 +45,6 @@
|
||||
}
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.{ts,css,html,tsx}": "yarn pre-comit"
|
||||
"*.{ts,tsx,js,jsx,css,html,md}": "yarn pre-commit"
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user