Skip to content

Commit e7d9e7c

Browse files
authored
feat: no console (#145)
1 parent 42f1d8b commit e7d9e7c

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

packages/eslint-plugin/eslint.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,5 @@ module.exports = tseslint.config(eslintPlugin.configs["flat/recommended"], {
2121
"https://github.com/bamlab/react-native-project-config/tree/main/packages/eslint-plugin/docs/rules/{{name}}.md",
2222
},
2323
],
24-
"no-console": "error",
2524
},
2625
});

packages/eslint-plugin/lib/configs/recommended.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export const recommendedConfig = tseslint.config(
3131
"@typescript-eslint/no-explicit-any": "error",
3232
"@typescript-eslint/no-non-null-assertion": "error",
3333
"@typescript-eslint/no-shadow": "error",
34-
"no-console": ["error", { allow: ["warn", "error"] }],
34+
"no-console": "error",
3535
"no-return-await": "error",
3636
"array-callback-return": ["error"],
3737
"react-hooks/exhaustive-deps": "error",

0 commit comments

Comments
 (0)