Skip to content

Commit

Permalink
Make eslint catch console.log statements (#3340)
Browse files Browse the repository at this point in the history
  • Loading branch information
charludo authored Jan 19, 2025
1 parent 664ac8f commit 12ec17a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ module.exports = {
"implicit-arrow-linebreak": "off",
"max-len": "off",
"no-confusing-arrow": "off",
"no-console": "off",
"no-multiple-empty-lines": "off",
"object-curly-newline": "off",
"operator-linebreak": "off",
Expand Down Expand Up @@ -137,6 +136,7 @@ module.exports = {
"react/function-component-definition": ["error", { namedComponents: "arrow-function" }],
"react-hooks/exhaustive-deps": "error",
"vars-on-top": "error",
"no-console": ["error", { allow: ["debug", "warn", "error"] }],
},
overrides: [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ const EditSidebar = ({
...changedFile,
isHidden: !changedFile.isHidden,
});
console.log(changedFile);
};

return (
Expand Down

0 comments on commit 12ec17a

Please sign in to comment.