Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dependencies and extract husky and lint-staged configs
- Loading branch information
1 parent
7d1ba81
commit 2dc2c19
Showing
6 changed files
with
673 additions
and
480 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"hooks": { | ||
"pre-commit": "lint-staged", | ||
"post-commit": "git reset" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"{src,bin,browser,typings}/**/*.ts": [ | ||
"prettier --write", | ||
"tslint --project . --fix", | ||
"git add" | ||
], | ||
"test/**/*.ts": [ | ||
"prettier --write", | ||
"tslint --project test/typescript --fix", | ||
"git add" | ||
], | ||
"{test/test,test/*/index,test/utils,test/**/_config}.js": [ | ||
"prettier --write", | ||
"eslint --fix", | ||
"git add" | ||
] | ||
} |
Oops, something went wrong.