Fail linting if there are any warnings

This commit is contained in:
Andrew Eisenberg
2020-06-09 11:49:33 -07:00
parent 1f3707f74e
commit c7ee9fa8c7

View File

@@ -568,7 +568,7 @@
"update-vscode": "node ./node_modules/vscode/bin/install",
"postinstall": "npm rebuild && node ./node_modules/vscode/bin/install",
"format": "tsfmt -r",
"lint": "eslint src test --ext .ts,.tsx",
"lint": "eslint src test --ext .ts,.tsx --max-warnings=0",
"format-staged": "lint-staged"
},
"dependencies": {