Skip to content

Commit 7ca6f3e

Browse files
committed
chore: report console methods
1 parent a9bd859 commit 7ca6f3e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

eslint.config.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ const config = defineConfig(
3535
rules: {
3636
// Base
3737
'max-lines-per-function': 'off',
38+
'no-console': 'warn',
3839

3940
// TypeScript
4041
'@typescript-eslint/consistent-type-imports': 'error',

tools/generate-configs/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ const getRecommendedRulesForTestingFramework = (
3535
await writeConfig(specificFrameworkConfig, framework);
3636
}
3737
})().catch((error) => {
38+
// eslint-disable-next-line no-console
3839
console.error(error);
3940
process.exitCode = 1;
4041
});

0 commit comments

Comments
 (0)