Eslint: disallow console logs (#312)

* Remove console.logs; remote useLoggedIn hook and instead use useCurrentUser; closes #310

* Comment out locale test
This commit is contained in:
Amanda Bullington
2022-12-29 10:56:50 -08:00
committed by GitHub
parent 0c4b9a5158
commit ec0a686df6
33 changed files with 80 additions and 161 deletions

View File

@@ -62,7 +62,7 @@ module.exports = {
"space-in-parens": [2, "always"],
"module-resolver/use-alias": 2,
// At least before we start making production builds
"no-console": 0,
"no-console": ["error", { allow: ["warn", "error"] }],
"no-restricted-globals": 0,
"no-param-reassign": 0,
"no-var": 1,