fix: fix formatting scritps

This commit is contained in:
Denys Dovhan
2022-04-26 17:04:52 +03:00
parent 5773ebd846
commit e87440bb1a

View File

@ -7,8 +7,8 @@
},
"scripts": {
"toc": "npx doctoc --github --title '# Table of Contents' --maxlevel 2 README*.md",
"format": "prettier --write --ignore-unknown .",
"test": "prettier --check --ignore-unknown .",
"format": "prettier --write .",
"test": "prettier --check .",
"release": "npx semantic-release",
"prepare": "husky install"
},
@ -49,13 +49,8 @@
"update-notifier": "^2.0.0"
},
"lint-staged": {
"README*.md": [
"npm run toc",
"npm run format"
],
"**/*": [
"npm run format"
]
"README*.md": "npm run toc",
"**/*": "prettier --write --ignore-unknown"
},
"husky": {
"hooks": {