Skip to content

Commit 24224b1

Browse files
committed
chore: tweaks
1 parent 3d2e52e commit 24224b1

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.oxlintrc.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66
"suspicious": "warn",
77
"pedantic": "warn",
88
"perf": "warn",
9-
"style": "warn",
10-
"restriction": "off"
9+
"style": "warn"
1110
},
1211
"plugins": ["import", "unicorn", "oxc", "promise", "jsdoc", "vitest", "node"],
1312
"rules": {
@@ -88,15 +87,17 @@
8887

8988
"catch-error-name": ["warn", { "name": "err" }],
9089
"curly": ["warn", "multi-line"],
91-
"id-length": "off",
9290
"max-dependencies": ["warn", { "ignoreTypeImports": true, "max": 15 }],
9391
"max-lines": ["warn", { "max": 500, "skipBlankLines": true, "skipComments": true }],
9492
"max-lines-per-function": [
9593
"warn",
9694
{ "max": 100, "skipBlankLines": true, "skipComments": true }
9795
],
9896
"max-params": ["warn", 4],
99-
"max-statements": ["warn", { "max": 30 }]
97+
"max-statements": ["warn", { "max": 30 }],
98+
99+
// per project settings
100+
"id-length": "off"
100101
},
101102
"overrides": [
102103
{

0 commit comments

Comments
 (0)