Skip to content

Commit

Permalink
added eslint no-console (getredash#5305)
Browse files Browse the repository at this point in the history
* added eslint no-console

* Update client/.eslintrc.js to allow warnings

Co-authored-by: Gabriel Dutra <[email protected]>

Co-authored-by: Gabriel Dutra <[email protected]>
  • Loading branch information
rafawendel and gabrieldutra authored Dec 14, 2020
1 parent 18ee534 commit b70e95a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ module.exports = {
// allow debugger during development
"no-debugger": process.env.NODE_ENV === "production" ? 2 : 0,
"jsx-a11y/anchor-is-valid": "off",
"no-console": ["warn", { allow: ["warn", "error"] }],
"no-restricted-imports": [
"error",
{
Expand Down

0 comments on commit b70e95a

Please sign in to comment.