Skip to content

Commit

Permalink
fix: fix formatting scritps
Browse files Browse the repository at this point in the history
  • Loading branch information
denysdovhan committed Apr 26, 2022
1 parent 5773ebd commit e87440b
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions package.json
Expand Up @@ -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"
},
Expand Down Expand Up @@ -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": {
Expand Down

0 comments on commit e87440b

Please sign in to comment.