@naturalcycles/dev-lib 20.55.0 → 20.56.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/cfg/eslint-rules.js +2 -2
- package/cfg/oxlint.config.js +13 -1
- package/package.json +1 -1
package/cfg/eslint-rules.js
CHANGED
|
@@ -156,7 +156,7 @@ export default {
|
|
|
156
156
|
'for-direction': 2,
|
|
157
157
|
'getter-return': 2,
|
|
158
158
|
'id-denylist': [
|
|
159
|
-
|
|
159
|
+
0, // ox
|
|
160
160
|
'any',
|
|
161
161
|
'Number',
|
|
162
162
|
'number',
|
|
@@ -167,7 +167,7 @@ export default {
|
|
|
167
167
|
'Undefined',
|
|
168
168
|
'undefined',
|
|
169
169
|
],
|
|
170
|
-
'id-match':
|
|
170
|
+
'id-match': 0, // ox
|
|
171
171
|
// 'simple-import-sort/imports': [
|
|
172
172
|
// 2,
|
|
173
173
|
// {
|
package/cfg/oxlint.config.js
CHANGED
|
@@ -93,6 +93,18 @@ export const sharedConfig = {
|
|
|
93
93
|
'valid-title': 0,
|
|
94
94
|
'vitest/valid-title': 0,
|
|
95
95
|
'valid-describe-callback': 0,
|
|
96
|
+
// 'id-denylist': [
|
|
97
|
+
// 0, // actually not useful
|
|
98
|
+
// 'any',
|
|
99
|
+
// 'Number',
|
|
100
|
+
// 'number',
|
|
101
|
+
// 'String',
|
|
102
|
+
// 'string',
|
|
103
|
+
// 'Boolean',
|
|
104
|
+
// 'boolean',
|
|
105
|
+
// 'Undefined',
|
|
106
|
+
// 'undefined',
|
|
107
|
+
// ],
|
|
96
108
|
'id-match': [
|
|
97
109
|
2,
|
|
98
110
|
'^.+$',
|
|
@@ -152,7 +164,7 @@ export const sharedConfig = {
|
|
|
152
164
|
'guard-for-in': 2,
|
|
153
165
|
'max-params': [2, { max: 5 }],
|
|
154
166
|
'prefer-spread': 2,
|
|
155
|
-
'import/extensions': [
|
|
167
|
+
'import/extensions': [2, 'always', { ignorePackages: true, checkTypeImports: true }],
|
|
156
168
|
'import/newline-after-import': 2,
|
|
157
169
|
'import/no-amd': 2,
|
|
158
170
|
'import/no-commonjs': 2,
|