Skip to content
This repository has been archived by the owner on May 6, 2023. It is now read-only.

Commit

Permalink
husky
Browse files Browse the repository at this point in the history
  • Loading branch information
TrejGun committed Nov 13, 2019
1 parent 5e80392 commit c501c87
Show file tree
Hide file tree
Showing 7 changed files with 1,284 additions and 20 deletions.
6 changes: 6 additions & 0 deletions .huskyrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm run test"
}
}
11 changes: 11 additions & 0 deletions .lintstagedrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"*.js": [
"prettier --write",
"eslint --fix",
"git add"
],
"*.json": [
"prettier --write",
"git add"
]
}
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dist/*
7 changes: 7 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"arrowParens": "avoid",
"bracketSpacing": false,
"printWidth": 120,
"trailingComma": "all",
"singleQuote": false
}
Loading

0 comments on commit c501c87

Please sign in to comment.