@cluerise/tools 5.3.7 → 5.3.8
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.
|
@@ -28,6 +28,13 @@ export default defineConfig([
|
|
|
28
28
|
'sort-imports': 'off',
|
|
29
29
|
},
|
|
30
30
|
},
|
|
31
|
+
{
|
|
32
|
+
name: 'cluerise: eslint/js/rules/tests',
|
|
33
|
+
files: ['**/*.test.{js,jsx,ts,tsx}'],
|
|
34
|
+
rules: {
|
|
35
|
+
'no-restricted-globals': 'off',
|
|
36
|
+
},
|
|
37
|
+
},
|
|
31
38
|
// TypeScript
|
|
32
39
|
...typescriptEslint.configs.recommendedTypeChecked.map((config) => ({
|
|
33
40
|
...config,
|
|
@@ -83,19 +90,11 @@ export default defineConfig([
|
|
|
83
90
|
'@typescript-eslint/consistent-type-imports': ['error', { fixStyle: 'inline-type-imports' }],
|
|
84
91
|
},
|
|
85
92
|
},
|
|
86
|
-
{
|
|
87
|
-
name: 'cluerise: typescript-eslint/rules/d.ts',
|
|
88
|
-
files: ['**/*.d.ts'],
|
|
89
|
-
rules: {
|
|
90
|
-
'import/no-default-export': 'off',
|
|
91
|
-
},
|
|
92
|
-
},
|
|
93
93
|
{
|
|
94
94
|
name: 'cluerise: typescript-eslint/rules/tests',
|
|
95
95
|
files: ['**/*.test.{ts,tsx}'],
|
|
96
96
|
rules: {
|
|
97
97
|
'@typescript-eslint/no-unsafe-assignment': 'off',
|
|
98
|
-
'no-restricted-globals': 'off',
|
|
99
98
|
},
|
|
100
99
|
},
|
|
101
100
|
// JSON
|
|
@@ -198,6 +197,13 @@ export default defineConfig([
|
|
|
198
197
|
'import/order': 'off',
|
|
199
198
|
},
|
|
200
199
|
},
|
|
200
|
+
{
|
|
201
|
+
name: 'cluerise: eslint/import/rules/d.ts',
|
|
202
|
+
files: ['**/*.d.ts'],
|
|
203
|
+
rules: {
|
|
204
|
+
'import/no-default-export': 'off',
|
|
205
|
+
},
|
|
206
|
+
},
|
|
201
207
|
{
|
|
202
208
|
name: 'cluerise: eslint/import/rules/config.js,cjs',
|
|
203
209
|
files: ['**/*.config.{js,cjs}'],
|