Skip to content

Commit

Permalink
Remove un-required prettier rule and pre-commit commands
Browse files Browse the repository at this point in the history
  • Loading branch information
leomendoza123 committed Dec 10, 2018
1 parent 532d821 commit 5921042
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"bracketSpacing": true,
"semi": false,
"singleQuote": true,
"jsxBracketSameLine": true,
"trailingComma": "es5",
"printWidth": 80
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"lint": "ng lint",
"e2e": "ng e2e",
"format:fix-all": "pretty-quick",
"format:fix": "pretty-quick --staged",
"format:fix-stage": "pretty-quick --staged",
"format:check": "prettier --config ./.prettierrc --list-different \"**/*{.ts,.js,.json,.css,.scss,html}\" "
},
"private": true,
Expand Down Expand Up @@ -62,7 +62,7 @@
},
"husky": {
"hooks": {
"pre-commit": "run-s format:check lint"
"pre-commit": "run-s format:fix-stage lint"
}
}
}

0 comments on commit 5921042

Please sign in to comment.