Skip to content

Commit 5865c49

Browse files
committed
chore(lint): add no-console rule
1 parent 3761c65 commit 5865c49

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.eslintrc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@
2525
"@typescript-eslint/no-parameter-properties": "off",
2626
"@typescript-eslint/no-use-before-define": ["error", { "functions": false, "classes": false }],
2727
"@typescript-eslint/no-explicit-any": "off",
28-
"@typescript-eslint/no-var-requires": "off"
28+
"@typescript-eslint/no-var-requires": "off",
29+
"no-console": ["error", { "allow": ["warn", "error"] }]
2930
},
3031
"settings": {
3132
"react": {

0 commit comments

Comments
 (0)