Skip to content

Commit 83a644d

Browse files
committed
chore: update to use per-directory warning
1 parent 49c95e9 commit 83a644d

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

.oxlintrc.json

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"perf": "warn"
99
},
1010
"rules": {
11-
"no-console": "off",
11+
"no-console": "warn",
1212
"no-await-in-loop": "off",
1313
"unicorn/no-array-sort": "off",
1414
"no-restricted-globals": "error",
@@ -19,7 +19,20 @@
1919
"e18e/prefer-regex-test": "error",
2020
"e18e/prefer-array-some": "error"
2121
},
22-
"overrides": [],
22+
"overrides": [
23+
{
24+
"files": [
25+
"server/**/*",
26+
"cli/**/*",
27+
"scripts/**/*",
28+
"modules/**/*",
29+
"app/components/OgImage/*"
30+
],
31+
"rules": {
32+
"no-console": "off"
33+
}
34+
}
35+
],
2336
"ignorePatterns": [
2437
".output/**",
2538
".data/**",

0 commit comments

Comments
 (0)