1+ {
2+ "$schema" : " ./node_modules/oxlint/configuration_schema.json" ,
3+ "plugins" : [
4+ " import" ,
5+ " typescript" ,
6+ " oxc" ,
7+ " unicorn"
8+ ],
9+ "env" : {
10+ "node" : true ,
11+ "browser" : true ,
12+ "es2024" : true
13+ },
14+ "categories" : {
15+ "perf" : " error" ,
16+ "correctness" : " error" ,
17+ "pedantic" : " error"
18+ },
19+ "rules" : {
20+ "unicorn/no-null" : " error" ,
21+ "unicorn/prefer-set-has" : " off" ,
22+ "prefer-string-slice" : " off" ,
23+ "prefer-code-point" : " off" ,
24+ "no-lonely-if" : " off" ,
25+ "no-unused-vars" : " off" ,
26+ "no-await-in-loop" : " off" ,
27+ "prefer-query-selector" : " off" ,
28+ "max-dependencies" : " off" ,
29+ "ban-types" : " off" ,
30+ "no-undefined" : " off" ,
31+ "no-useless-undefined" : " off" ,
32+ "max-classes-per-file" : " off" ,
33+ "max-lines-per-function" : " off" ,
34+ "prefer-math-trunc" : " off" ,
35+ "max-lines" : " off" ,
36+ "max-depth" : [
37+ " warn" ,
38+ {
39+ "max" : 5
40+ }
41+ ],
42+ "explicit-function-return-type" : " off" ,
43+ "no-console" : " off" ,
44+ "no-optional-chaining" : " off" ,
45+ "no-commonjs" : " off" ,
46+ "unambiguous" : " off" ,
47+ "no-default-export" : " off" ,
48+ "no-async-await" : " off" ,
49+ "no-non-null-assertion" : " off" ,
50+ "no-plusplus" : " off" ,
51+ "no-bitwise" : " off" ,
52+ "default-case" : " off" ,
53+ "no-rest-spread-properties" : " off" ,
54+ "require-await" : " warn"
55+ },
56+ "overrides" : [
57+ {
58+ "files" : [
59+ " *.svelte"
60+ ],
61+ "rules" : {
62+ "no-unassigned-vars" : " off"
63+ }
64+ },
65+ {
66+ "files" : [
67+ " .stylelintrc.mjs"
68+ ],
69+ "rules" : {
70+ "unicorn/no-null" : " off"
71+ }
72+ }
73+ ]
74+ }
0 commit comments