-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.oxlintrc.json
More file actions
36 lines (36 loc) · 1.25 KB
/
.oxlintrc.json
File metadata and controls
36 lines (36 loc) · 1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
"$schema": "https://raw.githubusercontent.com/oxc-project/oxc/main/npm/oxlint/configuration_schema.json",
"plugins": ["typescript", "react"],
"jsPlugins": ["./oxlint-plugin.js"],
"rules": {
"no-unused-vars": "off",
"typescript/no-unused-vars": [
"warn",
{
"argsIgnorePattern": "^_"
}
],
"unicorn/no-new-array": "off",
"react/rules-of-hooks": "error",
"react/exhaustive-deps": "warn",
"mage-knight/no-magic-event-types": "error",
"mage-knight/no-magic-command-types": "error",
"mage-knight/no-magic-validation-codes": "error",
"mage-knight/no-magic-mana-any": "error",
"mage-knight/no-magic-discriminator-comparison": "error",
"mage-knight/no-magic-action-comparison": "error",
"mage-knight/no-hardcoded-starting-values": "error",
"mage-knight/no-double-cast": "error",
"mage-knight/no-magic-checkpoint-reason": "error",
"mage-knight/no-magic-test-assertions": "error",
"mage-knight/no-magic-tile-types": "error",
"mage-knight/no-hardcoded-sentinel-literals": "error",
"mage-knight/no-hardcoded-hand-limit": "error",
"mage-knight/no-magic-modifier-discriminators": "error"
},
"ignorePatterns": [
"**/dist/**",
"**/node_modules/**",
"**/*.config.*"
]
}