|
1 | 1 | { |
2 | 2 | "$schema": "./node_modules/oxlint/configuration_schema.json", |
3 | | - "plugins": ["unicorn", "typescript", "oxc"], |
4 | | - "categories": {}, |
| 3 | + "plugins": ["typescript", "vue", "unicorn", "oxc"], |
| 4 | + "categories": { |
| 5 | + "correctness": "warn", |
| 6 | + "suspicious": "warn", |
| 7 | + "perf": "warn" |
| 8 | + }, |
5 | 9 | "rules": { |
6 | | - "for-direction": "warn", |
7 | | - "no-async-promise-executor": "warn", |
8 | | - "no-caller": "warn", |
9 | | - "no-class-assign": "warn", |
10 | | - "no-compare-neg-zero": "warn", |
11 | | - "no-cond-assign": "warn", |
12 | | - "no-const-assign": "warn", |
13 | | - "no-constant-binary-expression": "warn", |
14 | | - "no-constant-condition": "warn", |
15 | | - "no-control-regex": "warn", |
16 | | - "no-debugger": "warn", |
17 | | - "no-delete-var": "warn", |
18 | | - "no-dupe-class-members": "warn", |
19 | | - "no-dupe-else-if": "warn", |
20 | | - "no-dupe-keys": "warn", |
21 | | - "no-duplicate-case": "warn", |
22 | | - "no-empty-character-class": "warn", |
23 | | - "no-empty-pattern": "warn", |
24 | | - "no-empty-static-block": "warn", |
25 | | - "no-eval": "warn", |
26 | | - "no-ex-assign": "warn", |
27 | | - "no-extra-boolean-cast": "warn", |
28 | | - "no-func-assign": "warn", |
29 | | - "no-global-assign": "warn", |
30 | | - "no-import-assign": "warn", |
31 | | - "no-invalid-regexp": "warn", |
32 | | - "no-irregular-whitespace": "warn", |
33 | | - "no-loss-of-precision": "warn", |
34 | | - "no-new-native-nonconstructor": "warn", |
35 | | - "no-nonoctal-decimal-escape": "warn", |
36 | | - "no-obj-calls": "warn", |
37 | | - "no-self-assign": "warn", |
38 | | - "no-setter-return": "warn", |
39 | | - "no-shadow-restricted-names": "warn", |
40 | | - "no-sparse-arrays": "warn", |
41 | | - "no-this-before-super": "warn", |
42 | | - "no-unsafe-finally": "warn", |
43 | | - "no-unsafe-negation": "warn", |
44 | | - "no-unsafe-optional-chaining": "warn", |
45 | | - "no-unused-labels": "warn", |
46 | | - "no-unused-private-class-members": "warn", |
47 | | - "no-unused-vars": "warn", |
48 | | - "no-useless-backreference": "warn", |
49 | | - "no-useless-catch": "warn", |
50 | | - "no-useless-escape": "warn", |
51 | | - "no-useless-rename": "warn", |
52 | | - "no-with": "warn", |
53 | | - "require-yield": "warn", |
54 | | - "use-isnan": "warn", |
55 | | - "valid-typeof": "warn", |
56 | | - "oxc/bad-array-method-on-arguments": "warn", |
57 | | - "oxc/bad-char-at-comparison": "warn", |
58 | | - "oxc/bad-comparison-sequence": "warn", |
59 | | - "oxc/bad-min-max-func": "warn", |
60 | | - "oxc/bad-object-literal-comparison": "warn", |
61 | | - "oxc/bad-replace-all-arg": "warn", |
62 | | - "oxc/const-comparisons": "warn", |
63 | | - "oxc/double-comparisons": "warn", |
64 | | - "oxc/erasing-op": "warn", |
65 | | - "oxc/missing-throw": "warn", |
66 | | - "oxc/number-arg-out-of-range": "warn", |
67 | | - "oxc/only-used-in-recursion": "warn", |
68 | | - "oxc/uninvoked-array-callback": "warn", |
69 | | - "typescript/no-duplicate-enum-values": "warn", |
70 | | - "typescript/no-extra-non-null-assertion": "warn", |
71 | | - "typescript/no-misused-new": "warn", |
72 | | - "typescript/no-non-null-asserted-optional-chain": "warn", |
73 | | - "typescript/no-this-alias": "warn", |
74 | | - "typescript/no-unnecessary-parameter-property-assignment": "warn", |
75 | | - "typescript/no-unsafe-declaration-merging": "warn", |
76 | | - "typescript/no-useless-empty-export": "warn", |
77 | | - "typescript/no-wrapper-object-types": "warn", |
78 | | - "typescript/prefer-as-const": "warn", |
79 | | - "typescript/triple-slash-reference": "warn", |
80 | | - "unicorn/no-await-in-promise-methods": "warn", |
81 | | - "unicorn/no-empty-file": "warn", |
82 | | - "unicorn/no-invalid-fetch-options": "warn", |
83 | | - "unicorn/no-invalid-remove-event-listener": "warn", |
| 10 | + "typescript/no-explicit-any": "warn", |
84 | 11 | "unicorn/no-new-array": "warn", |
85 | | - "unicorn/no-single-promise-in-promise-methods": "warn", |
86 | | - "unicorn/no-thenable": "warn", |
87 | | - "unicorn/no-unnecessary-await": "warn", |
88 | | - "unicorn/no-useless-fallback-in-spread": "warn", |
89 | | - "unicorn/no-useless-length-check": "warn", |
90 | | - "unicorn/no-useless-spread": "warn", |
91 | | - "unicorn/prefer-set-size": "warn", |
92 | 12 | "unicorn/prefer-string-starts-ends-with": "warn" |
93 | 13 | }, |
94 | | - "settings": { |
95 | | - "next": { |
96 | | - "rootDir": [] |
97 | | - } |
98 | | - }, |
99 | 14 | "env": { |
| 15 | + "browser": true, |
100 | 16 | "builtin": true |
101 | 17 | }, |
102 | 18 | "globals": {}, |
103 | | - "ignorePatterns": [] |
| 19 | + "ignorePatterns": ["dist", "node_modules"] |
104 | 20 | } |
0 commit comments