Check for forgotten console and debugger statements

This commit is contained in:
Steve Gravrock
2020-09-17 13:33:25 -07:00
parent 795651d3b6
commit 7d5ca27b9d
4 changed files with 13 additions and 1 deletions
+7 -1
View File
@@ -13,5 +13,11 @@ module.exports = {
"no-unused-vars": "off",
"no-trailing-spaces": "off",
"block-spacing": "off",
// Since linting is done at the end of the process and doesn't stop us
// from running tests, it makes sense to fail if debugger statements
// or console references are present.
"no-debugger": "error",
"no-console": "error",
}
}
};