@kayahr/oxlint-config 1.8.0 → 1.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.oxlintrc.json +25 -12
- package/package.json +1 -1
package/.oxlintrc.json
CHANGED
|
@@ -37,6 +37,7 @@
|
|
|
37
37
|
],
|
|
38
38
|
"rules": {
|
|
39
39
|
"eslint/class-methods-use-this": "off",
|
|
40
|
+
"eslint/default-case": "off",
|
|
40
41
|
"eslint/eqeqeq": [
|
|
41
42
|
"warn",
|
|
42
43
|
"always",
|
|
@@ -62,8 +63,10 @@
|
|
|
62
63
|
"eslint/no-multi-assign": "off",
|
|
63
64
|
"eslint/no-param-reassign": "off",
|
|
64
65
|
"eslint/no-plusplus": "off",
|
|
66
|
+
"eslint/no-return-assign": "off",
|
|
65
67
|
"eslint/no-ternary": "off",
|
|
66
68
|
"eslint/no-undefined": "off",
|
|
69
|
+
"eslint/no-unused-vars": "off",
|
|
67
70
|
"eslint/no-void": "off",
|
|
68
71
|
"eslint/prefer-destructuring": "off",
|
|
69
72
|
"eslint/radix": "off",
|
|
@@ -88,6 +91,7 @@
|
|
|
88
91
|
"jsdoc/require-param": "off",
|
|
89
92
|
"jsdoc/require-param-type": "off",
|
|
90
93
|
"jsdoc/require-returns-type": "off",
|
|
94
|
+
"node/no-process-env": "off",
|
|
91
95
|
"oxc/no-async-await": "off",
|
|
92
96
|
"oxc/no-optional-chaining": "off",
|
|
93
97
|
"oxc/no-reset-spread-properties": "off",
|
|
@@ -106,35 +110,44 @@
|
|
|
106
110
|
"typescript/explicit-function-return-type": "off",
|
|
107
111
|
"typescript/no-base-to-string": "off",
|
|
108
112
|
"typescript/no-explicit-any": "off",
|
|
113
|
+
"typescript/no-extraneous-class": "off",
|
|
109
114
|
"typescript/no-misused-spread": "off",
|
|
110
115
|
"typescript/no-non-null-assertion": "off",
|
|
116
|
+
"typescript/no-this-alias": "off",
|
|
111
117
|
"typescript/no-unsafe-type-assertion": "off",
|
|
112
118
|
"typescript/no-wrapper-object-types": "off",
|
|
113
119
|
"typescript/promise-function-async": "off",
|
|
114
120
|
"typescript/restrict-template-expressions": "off",
|
|
115
121
|
"typescript/unbound-method": "off",
|
|
116
|
-
"unicorn/
|
|
117
|
-
"unicorn/filename-case":
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
"cases": {
|
|
121
|
-
"camelCase": true,
|
|
122
|
-
"kebabCase": true,
|
|
123
|
-
"pascalCase": true
|
|
124
|
-
},
|
|
125
|
-
"multipleFileExtensions": true
|
|
126
|
-
}
|
|
127
|
-
],
|
|
122
|
+
"unicorn/consistent-function-scoping": "off",
|
|
123
|
+
"unicorn/filename-case": "off",
|
|
124
|
+
"unicorn/no-array-for-each": "off",
|
|
125
|
+
"unicorn/no-array-method-this-argument": "off",
|
|
128
126
|
"unicorn/no-array-reduce": "off",
|
|
127
|
+
"unicorn/no-array-reverse": "off",
|
|
128
|
+
"unicorn/no-array-sort": "off",
|
|
129
129
|
"unicorn/no-await-expression-member": "off",
|
|
130
|
+
"typescript/no-empty-interface": [
|
|
131
|
+
"warn", {
|
|
132
|
+
"allow_single_extends": true
|
|
133
|
+
}
|
|
134
|
+
],
|
|
135
|
+
"typescript/no-empty-object-type": [
|
|
136
|
+
"warn", {
|
|
137
|
+
"allowInterfaces": "with-single-extends"
|
|
138
|
+
}
|
|
139
|
+
],
|
|
130
140
|
"unicorn/no-instanceof-builtins": "off",
|
|
131
141
|
"unicorn/no-null": "off",
|
|
142
|
+
"unicorn/no-process-exit": "off",
|
|
132
143
|
"unicorn/number-literal-case": "off",
|
|
133
144
|
"unicorn/numeric-separators-style": "off",
|
|
134
145
|
"unicorn/prefer-event-target": "off",
|
|
135
146
|
"unicorn/prefer-node-protocol": "warn",
|
|
136
147
|
"unicorn/prefer-number-properties": "off",
|
|
148
|
+
"unicorn/prefer-spread": "off",
|
|
137
149
|
"unicorn/prefer-string-raw": "off",
|
|
150
|
+
"unicorn/require-array-join-separator": "off",
|
|
138
151
|
"unicorn/switch-case-braces": "off",
|
|
139
152
|
"unicorn/text-encoding-identifier-case": "off"
|
|
140
153
|
}
|