Skip to content

Commit

Permalink
Merge pull request #496 from hassankhan/improve-dx
Browse files Browse the repository at this point in the history
Improve Developer Experience
  • Loading branch information
hassankhan authored May 2, 2019
2 parents 4ea395b + 6e8dead commit fc2cffd
Show file tree
Hide file tree
Showing 6 changed files with 1,591 additions and 363 deletions.
1 change: 1 addition & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ extends:
- plugin:promise/recommended
- plugin:import/errors
- plugin:import/warnings
- prettier
parser: babel-eslint
parserOptions:
sourceType: module
Expand Down
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"
}
}
6 changes: 6 additions & 0 deletions .lintstagedrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
linters:
"*.js":
- "eslint --fix" # Run TSLint
- "prettier --write" # Run Prettier
- "npm test" # Run tests
- "git add"
Loading

0 comments on commit fc2cffd

Please sign in to comment.