Skip to content

Commit

Permalink
remove flow in pre-commit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Nov 25, 2016
1 parent ea61d98 commit 68e560a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ If you are on a Unix-like system, optionally install the Git pre-commit hook wit
$ npm run install:hooks
```

This will run Flow and ESLint on changed files before each commit.
This will run ESLint on changed files before each commit.

### Commonly used NPM scripts

Expand Down
2 changes: 1 addition & 1 deletion build/git-hooks/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
files_to_lint=$(git diff --cached --name-only --diff-filter=ACM | grep '\.js$')

if [ -n "$files_to_lint" ]; then
flow && NODE_ENV=production eslint $files_to_lint
NODE_ENV=production eslint $files_to_lint
fi

0 comments on commit 68e560a

Please sign in to comment.