Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

lint-staged should ignore package.json and package-lock.json

Christopher Hiller99af03cb4fcc
diff --git a/.lintstagedrc.json b/.lintstagedrc.json
index 086ba1b6..695d0922 100644
--- a/.lintstagedrc.json
+++ b/.lintstagedrc.json
@@ -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"]
}