Should be double 'm' in 'commit' + added more formats that should be processed by prettier.

This commit is contained in:
Anuar Ustayev 2020-06-17 18:35:48 +06:00 committed by GitHub
parent 4452ee01c0
commit 5e2ee1955a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"
}
}