Skip to content

Commit

Permalink
Merge pull request #26 from holywyvern/patch-1
Browse files Browse the repository at this point in the history
Update lint-diff to ignore removed files
  • Loading branch information
damfinkel authored Aug 3, 2018
2 parents 0452d70 + e62c7e4 commit 871d8c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"deploy": "npm run build",
"lint": "./node_modules/eslint/bin/eslint.js .",
"lint-fix": "./node_modules/eslint/bin/eslint.js . --fix",
"lint-diff": "git diff --name-only --cached --relative | grep \\.js$ | xargs ./node_modules/eslint/bin/eslint.js",
"lint-diff": "git diff --name-only --cached --relative --diff-filter=ACM | grep \\.js$ | xargs ./node_modules/eslint/bin/eslint.js",
"precommit": "npm run lint"
},
"repository": "git+https://github.com/Wolox/react-bootstrap.git",
Expand Down

0 comments on commit 871d8c4

Please sign in to comment.