Skip to content

Commit

Permalink
lint-staged should ignore package.json and package-lock.json
Browse files Browse the repository at this point in the history
these are formatted by npm and would otherwise cause too much churn
  • Loading branch information
boneskull committed Dec 7, 2018
1 parent 00d5e90 commit 99af03c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .lintstagedrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"linters": {
"(bin/*|*.{js,json}|**/*.{js,json})": ["prettier-eslint --write", "git add"]
},
"ignore": ["docs/**/*.js", "test/**/*.fixture.js"]
"ignore": ["docs/**/*.js", "test/**/*.fixture.js", "package*.json"]
}

0 comments on commit 99af03c

Please sign in to comment.