@kayahr/oxlint-config 1.9.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 +14 -11
- 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",
|
|
@@ -109,6 +110,7 @@
|
|
|
109
110
|
"typescript/explicit-function-return-type": "off",
|
|
110
111
|
"typescript/no-base-to-string": "off",
|
|
111
112
|
"typescript/no-explicit-any": "off",
|
|
113
|
+
"typescript/no-extraneous-class": "off",
|
|
112
114
|
"typescript/no-misused-spread": "off",
|
|
113
115
|
"typescript/no-non-null-assertion": "off",
|
|
114
116
|
"typescript/no-this-alias": "off",
|
|
@@ -118,25 +120,26 @@
|
|
|
118
120
|
"typescript/restrict-template-expressions": "off",
|
|
119
121
|
"typescript/unbound-method": "off",
|
|
120
122
|
"unicorn/consistent-function-scoping": "off",
|
|
121
|
-
"unicorn/filename-case":
|
|
122
|
-
"warn",
|
|
123
|
-
{
|
|
124
|
-
"cases": {
|
|
125
|
-
"camelCase": true,
|
|
126
|
-
"kebabCase": true,
|
|
127
|
-
"pascalCase": true
|
|
128
|
-
},
|
|
129
|
-
"multipleFileExtensions": true
|
|
130
|
-
}
|
|
131
|
-
],
|
|
123
|
+
"unicorn/filename-case": "off",
|
|
132
124
|
"unicorn/no-array-for-each": "off",
|
|
133
125
|
"unicorn/no-array-method-this-argument": "off",
|
|
134
126
|
"unicorn/no-array-reduce": "off",
|
|
135
127
|
"unicorn/no-array-reverse": "off",
|
|
136
128
|
"unicorn/no-array-sort": "off",
|
|
137
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
|
+
],
|
|
138
140
|
"unicorn/no-instanceof-builtins": "off",
|
|
139
141
|
"unicorn/no-null": "off",
|
|
142
|
+
"unicorn/no-process-exit": "off",
|
|
140
143
|
"unicorn/number-literal-case": "off",
|
|
141
144
|
"unicorn/numeric-separators-style": "off",
|
|
142
145
|
"unicorn/prefer-event-target": "off",
|