Skip to content

Commit d892a58

Browse files
committed
#388: no console linting rule
1 parent 985ba0e commit d892a58

File tree

5 files changed

+331
-5
lines changed

5 files changed

+331
-5
lines changed

eslint.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export default [
2020
'@typescript-eslint': tseslint,
2121
'react': react,
2222
'react-hooks': reactHooks,
23-
'sonarjs': sonarjs
23+
'sonarjs': sonarjs,
2424
},
2525
languageOptions: {
2626
parser: tsparser,
@@ -48,9 +48,9 @@ export default [
4848
"react/jsx-uses-react": "off",
4949
"react/react-in-jsx-scope": "off",
5050
"sonarjs/assertions-in-tests": "off",
51+
"no-console": "error",
5152

52-
// typescript handles this for us
53-
"no-undef": "off",
53+
"no-undef": "off", // typescript handles this for us
5454
},
5555
settings: {
5656
react: {

0 commit comments

Comments
 (0)