1+ {
2+ "$schema" : " ./node_modules/oxlint/configuration_schema.json" ,
3+ "plugins" : [
4+ " oxc" ,
5+ " typescript" ,
6+ " unicorn" ,
7+ " react"
8+ ],
9+ "categories" : {
10+ "correctness" : " warn"
11+ },
12+ "env" : {
13+ "builtin" : true
14+ },
15+ "ignorePatterns" : [
16+ " dist/**" ,
17+ " server/dist/**" ,
18+ " src/utils/hateSpeechFilter.ts"
19+ ],
20+ "overrides" : [
21+ {
22+ "files" : [
23+ " **/*.{ts,tsx}"
24+ ],
25+ "rules" : {
26+ "constructor-super" : " error" ,
27+ "for-direction" : " error" ,
28+ "getter-return" : " error" ,
29+ "no-async-promise-executor" : " error" ,
30+ "no-case-declarations" : " error" ,
31+ "no-class-assign" : " error" ,
32+ "no-compare-neg-zero" : " error" ,
33+ "no-cond-assign" : " error" ,
34+ "no-const-assign" : " error" ,
35+ "no-constant-binary-expression" : " error" ,
36+ "no-constant-condition" : " error" ,
37+ "no-control-regex" : " error" ,
38+ "no-debugger" : " error" ,
39+ "no-delete-var" : " error" ,
40+ "no-dupe-class-members" : " error" ,
41+ "no-dupe-else-if" : " error" ,
42+ "no-dupe-keys" : " error" ,
43+ "no-duplicate-case" : " error" ,
44+ "no-empty" : " error" ,
45+ "no-empty-character-class" : " error" ,
46+ "no-empty-pattern" : " error" ,
47+ "no-empty-static-block" : " error" ,
48+ "no-ex-assign" : " error" ,
49+ "no-extra-boolean-cast" : " error" ,
50+ "no-fallthrough" : " error" ,
51+ "no-func-assign" : " error" ,
52+ "no-global-assign" : " error" ,
53+ "no-import-assign" : " error" ,
54+ "no-invalid-regexp" : " error" ,
55+ "no-irregular-whitespace" : " error" ,
56+ "no-loss-of-precision" : " error" ,
57+ "no-misleading-character-class" : " error" ,
58+ "no-new-native-nonconstructor" : " error" ,
59+ "no-nonoctal-decimal-escape" : " error" ,
60+ "no-obj-calls" : " error" ,
61+ "no-prototype-builtins" : " error" ,
62+ "no-redeclare" : " error" ,
63+ "no-regex-spaces" : " error" ,
64+ "no-self-assign" : " error" ,
65+ "no-setter-return" : " error" ,
66+ "no-shadow-restricted-names" : " error" ,
67+ "no-sparse-arrays" : " error" ,
68+ "no-this-before-super" : " error" ,
69+ "no-undef" : " error" ,
70+ "no-unexpected-multiline" : " error" ,
71+ "no-unreachable" : " error" ,
72+ "no-unsafe-finally" : " error" ,
73+ "no-unsafe-negation" : " error" ,
74+ "no-unsafe-optional-chaining" : " error" ,
75+ "no-unused-labels" : " error" ,
76+ "no-unused-private-class-members" : " error" ,
77+ "no-unused-vars" : " warn" ,
78+ "no-useless-backreference" : " error" ,
79+ "no-useless-catch" : " error" ,
80+ "no-useless-escape" : " error" ,
81+ "no-with" : " error" ,
82+ "require-yield" : " error" ,
83+ "use-isnan" : " error" ,
84+ "valid-typeof" : " error" ,
85+ "no-array-constructor" : " error" ,
86+ "no-unused-expressions" : " error" ,
87+ "typescript/ban-ts-comment" : " error" ,
88+ "typescript/no-duplicate-enum-values" : " error" ,
89+ "typescript/no-empty-object-type" : " error" ,
90+ "typescript/no-explicit-any" : " error" ,
91+ "typescript/no-extra-non-null-assertion" : " error" ,
92+ "typescript/no-misused-new" : " error" ,
93+ "typescript/no-namespace" : " error" ,
94+ "typescript/no-non-null-asserted-optional-chain" : " error" ,
95+ "typescript/no-require-imports" : " error" ,
96+ "typescript/no-this-alias" : " error" ,
97+ "typescript/no-unnecessary-type-constraint" : " error" ,
98+ "typescript/no-unsafe-declaration-merging" : " error" ,
99+ "typescript/no-unsafe-function-type" : " error" ,
100+ "typescript/no-wrapper-object-types" : " error" ,
101+ "typescript/prefer-as-const" : " error" ,
102+ "typescript/prefer-namespace-keyword" : " error" ,
103+ "typescript/triple-slash-reference" : " error" ,
104+ "react/rules-of-hooks" : " error" ,
105+ "react/exhaustive-deps" : " warn" ,
106+ "react/only-export-components" : [
107+ " error" ,
108+ {
109+ "allowConstantExport" : true
110+ }
111+ ]
112+ },
113+ "env" : {
114+ "es2020" : true ,
115+ "browser" : true
116+ },
117+ "globals" : {
118+ "AudioWorkletGlobalScope" : " readonly" ,
119+ "AudioWorkletProcessor" : " readonly" ,
120+ "currentFrame" : " readonly" ,
121+ "currentTime" : " readonly" ,
122+ "registerProcessor" : " readonly" ,
123+ "sampleRate" : " readonly" ,
124+ "WorkletGlobalScope" : " readonly"
125+ }
126+ }
127+ ]
128+ }
0 commit comments