Skip to content

Commit

Permalink
Add lint-staged and enable flow
Browse files Browse the repository at this point in the history
  • Loading branch information
gilbarbara committed Oct 24, 2018
1 parent 1791b68 commit e01a1a3
Show file tree
Hide file tree
Showing 3 changed files with 615 additions and 40 deletions.
7 changes: 7 additions & 0 deletions .lintstagedrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"linters": {
"*.{js,jsx}": ["eslint --fix", "jest --config config/jest.config.js --bail --findRelatedTests"],
"*.{scss,sass}": ["stylelint --fix"]
},
"ignore": ["**/dist/*"]
}
Loading

0 comments on commit e01a1a3

Please sign in to comment.