Skip to content

Commit

Permalink
Husky + Lint Staged
Browse files Browse the repository at this point in the history
  • Loading branch information
nolimits4web committed Jun 3, 2020
1 parent 95e0d26 commit 26e7e0a
Show file tree
Hide file tree
Showing 4 changed files with 733 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .huskyrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"hooks": {
"pre-commit": "lint-staged"
}
}
8 changes: 8 additions & 0 deletions .lintstagedrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"*.+(js)": [
"eslint"
],
"*.+(js|json|scss|css|less|ts)": [
"prettier --write"
]
}
Loading

0 comments on commit 26e7e0a

Please sign in to comment.