@lntvow/eslint-config 9.18.8 → 9.20.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/dist/index.cjs +49 -49
- package/dist/index.mjs +49 -49
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -241,55 +241,55 @@ async function imports(options = {}) {
|
|
|
241
241
|
import: pluginImport__default
|
|
242
242
|
},
|
|
243
243
|
rules: {
|
|
244
|
-
// Helpful warnings
|
|
245
|
-
// 'import/export': 'error',
|
|
246
|
-
// 'import/no-deprecated': 'error',
|
|
247
|
-
// 'import/no-empty-named-blocks': 'error',
|
|
248
|
-
// // 幽灵依赖
|
|
249
|
-
// 'import/no-extraneous-dependencies': 'off',
|
|
250
|
-
// 'import/no-mutable-exports': 'error',
|
|
251
|
-
// 'import/no-named-as-default': 'error',
|
|
252
|
-
// 'import/no-named-as-default-member': 'error',
|
|
253
|
-
// 'import/no-unused-modules': 'error',
|
|
254
|
-
// Module systems
|
|
255
|
-
// 'import/no-amd': 'off',
|
|
256
|
-
// 'import/no-commonjs': 'off',
|
|
257
|
-
// 'import/no-import-module-exports': 'off',
|
|
258
|
-
// 'import/no-nodejs-modules': 'off',
|
|
259
|
-
// 'import/unambiguous': 'off',
|
|
260
|
-
// Static analysis
|
|
261
|
-
// 'import/default': 'error',
|
|
262
|
-
// 'import/named': 'error',
|
|
263
|
-
// 'import/namespace': 'error',
|
|
264
|
-
// 'import/no-absolute-path': 'error',
|
|
265
|
-
// 'import/no-cycle': 'off',
|
|
266
|
-
// 'import/no-dynamic-require': 'off',
|
|
267
|
-
// 'import/no-internal-modules': 'off',
|
|
268
|
-
// 'import/no-relative-packages': 'off',
|
|
269
|
-
// 'import/no-relative-parent-imports': 'off',
|
|
270
|
-
// 'import/no-restricted-paths': 'off',
|
|
271
|
-
// 'import/no-self-import': 'off',
|
|
272
|
-
|
|
273
|
-
// 'import/no-useless-path-segments': 'error',
|
|
274
|
-
// 'import/no-webpack-loader-syntax': 'error',
|
|
275
|
-
// Style guide
|
|
276
|
-
// 'import/consistent-type-specifier-style': 'off',
|
|
277
|
-
// 'import/dynamic-import-chunkname': 'off',
|
|
278
|
-
// 'import/exports-last': 'off',
|
|
279
|
-
// 'import/extensions': 'off',
|
|
280
|
-
|
|
281
|
-
// 'import/group-exports': 'off',
|
|
282
|
-
// 'import/max-dependencies': 'off',
|
|
283
|
-
|
|
284
|
-
// 'import/no-anonymous-default-export': 'off',
|
|
285
|
-
// 'import/no-default-export': 'off',
|
|
286
|
-
|
|
287
|
-
// 'import/no-named-default': 'off',
|
|
288
|
-
// 'import/no-named-export': 'off',
|
|
289
|
-
// 'import/no-namespace': 'off',
|
|
290
|
-
// 'import/no-unassigned-import': 'off',
|
|
291
|
-
|
|
292
|
-
// 'import/prefer-default-export': 'off',
|
|
244
|
+
// // Helpful warnings
|
|
245
|
+
// // 'import/export': 'error',
|
|
246
|
+
// // 'import/no-deprecated': 'error',
|
|
247
|
+
// // 'import/no-empty-named-blocks': 'error',
|
|
248
|
+
// // // 幽灵依赖
|
|
249
|
+
// // 'import/no-extraneous-dependencies': 'off',
|
|
250
|
+
// // 'import/no-mutable-exports': 'error',
|
|
251
|
+
// // 'import/no-named-as-default': 'error',
|
|
252
|
+
// // 'import/no-named-as-default-member': 'error',
|
|
253
|
+
// // 'import/no-unused-modules': 'error',
|
|
254
|
+
// // Module systems
|
|
255
|
+
// // 'import/no-amd': 'off',
|
|
256
|
+
// // 'import/no-commonjs': 'off',
|
|
257
|
+
// // 'import/no-import-module-exports': 'off',
|
|
258
|
+
// // 'import/no-nodejs-modules': 'off',
|
|
259
|
+
// // 'import/unambiguous': 'off',
|
|
260
|
+
// // Static analysis
|
|
261
|
+
// // 'import/default': 'error',
|
|
262
|
+
// // 'import/named': 'error',
|
|
263
|
+
// // 'import/namespace': 'error',
|
|
264
|
+
// // 'import/no-absolute-path': 'error',
|
|
265
|
+
// // 'import/no-cycle': 'off',
|
|
266
|
+
// // 'import/no-dynamic-require': 'off',
|
|
267
|
+
// // 'import/no-internal-modules': 'off',
|
|
268
|
+
// // 'import/no-relative-packages': 'off',
|
|
269
|
+
// // 'import/no-relative-parent-imports': 'off',
|
|
270
|
+
// // 'import/no-restricted-paths': 'off',
|
|
271
|
+
// // 'import/no-self-import': 'off',
|
|
272
|
+
// 'import/no-unresolved': 'error',
|
|
273
|
+
// // 'import/no-useless-path-segments': 'error',
|
|
274
|
+
// // 'import/no-webpack-loader-syntax': 'error',
|
|
275
|
+
// // Style guide
|
|
276
|
+
// // 'import/consistent-type-specifier-style': 'off',
|
|
277
|
+
// // 'import/dynamic-import-chunkname': 'off',
|
|
278
|
+
// // 'import/exports-last': 'off',
|
|
279
|
+
// // 'import/extensions': 'off',
|
|
280
|
+
// 'import/first': 'error',
|
|
281
|
+
// // 'import/group-exports': 'off',
|
|
282
|
+
// // 'import/max-dependencies': 'off',
|
|
283
|
+
// 'import/newline-after-import': 'error',
|
|
284
|
+
// // 'import/no-anonymous-default-export': 'off',
|
|
285
|
+
// // 'import/no-default-export': 'off',
|
|
286
|
+
// 'import/no-duplicates': 'error',
|
|
287
|
+
// // 'import/no-named-default': 'off',
|
|
288
|
+
// // 'import/no-named-export': 'off',
|
|
289
|
+
// // 'import/no-namespace': 'off',
|
|
290
|
+
// // 'import/no-unassigned-import': 'off',
|
|
291
|
+
// 'import/order': 'error',
|
|
292
|
+
// // 'import/prefer-default-export': 'off',
|
|
293
293
|
},
|
|
294
294
|
settings: {
|
|
295
295
|
"import-x/resolver": {
|
package/dist/index.mjs
CHANGED
|
@@ -222,55 +222,55 @@ async function imports(options = {}) {
|
|
|
222
222
|
import: pluginImport
|
|
223
223
|
},
|
|
224
224
|
rules: {
|
|
225
|
-
// Helpful warnings
|
|
226
|
-
// 'import/export': 'error',
|
|
227
|
-
// 'import/no-deprecated': 'error',
|
|
228
|
-
// 'import/no-empty-named-blocks': 'error',
|
|
229
|
-
// // 幽灵依赖
|
|
230
|
-
// 'import/no-extraneous-dependencies': 'off',
|
|
231
|
-
// 'import/no-mutable-exports': 'error',
|
|
232
|
-
// 'import/no-named-as-default': 'error',
|
|
233
|
-
// 'import/no-named-as-default-member': 'error',
|
|
234
|
-
// 'import/no-unused-modules': 'error',
|
|
235
|
-
// Module systems
|
|
236
|
-
// 'import/no-amd': 'off',
|
|
237
|
-
// 'import/no-commonjs': 'off',
|
|
238
|
-
// 'import/no-import-module-exports': 'off',
|
|
239
|
-
// 'import/no-nodejs-modules': 'off',
|
|
240
|
-
// 'import/unambiguous': 'off',
|
|
241
|
-
// Static analysis
|
|
242
|
-
// 'import/default': 'error',
|
|
243
|
-
// 'import/named': 'error',
|
|
244
|
-
// 'import/namespace': 'error',
|
|
245
|
-
// 'import/no-absolute-path': 'error',
|
|
246
|
-
// 'import/no-cycle': 'off',
|
|
247
|
-
// 'import/no-dynamic-require': 'off',
|
|
248
|
-
// 'import/no-internal-modules': 'off',
|
|
249
|
-
// 'import/no-relative-packages': 'off',
|
|
250
|
-
// 'import/no-relative-parent-imports': 'off',
|
|
251
|
-
// 'import/no-restricted-paths': 'off',
|
|
252
|
-
// 'import/no-self-import': 'off',
|
|
253
|
-
|
|
254
|
-
// 'import/no-useless-path-segments': 'error',
|
|
255
|
-
// 'import/no-webpack-loader-syntax': 'error',
|
|
256
|
-
// Style guide
|
|
257
|
-
// 'import/consistent-type-specifier-style': 'off',
|
|
258
|
-
// 'import/dynamic-import-chunkname': 'off',
|
|
259
|
-
// 'import/exports-last': 'off',
|
|
260
|
-
// 'import/extensions': 'off',
|
|
261
|
-
|
|
262
|
-
// 'import/group-exports': 'off',
|
|
263
|
-
// 'import/max-dependencies': 'off',
|
|
264
|
-
|
|
265
|
-
// 'import/no-anonymous-default-export': 'off',
|
|
266
|
-
// 'import/no-default-export': 'off',
|
|
267
|
-
|
|
268
|
-
// 'import/no-named-default': 'off',
|
|
269
|
-
// 'import/no-named-export': 'off',
|
|
270
|
-
// 'import/no-namespace': 'off',
|
|
271
|
-
// 'import/no-unassigned-import': 'off',
|
|
272
|
-
|
|
273
|
-
// 'import/prefer-default-export': 'off',
|
|
225
|
+
// // Helpful warnings
|
|
226
|
+
// // 'import/export': 'error',
|
|
227
|
+
// // 'import/no-deprecated': 'error',
|
|
228
|
+
// // 'import/no-empty-named-blocks': 'error',
|
|
229
|
+
// // // 幽灵依赖
|
|
230
|
+
// // 'import/no-extraneous-dependencies': 'off',
|
|
231
|
+
// // 'import/no-mutable-exports': 'error',
|
|
232
|
+
// // 'import/no-named-as-default': 'error',
|
|
233
|
+
// // 'import/no-named-as-default-member': 'error',
|
|
234
|
+
// // 'import/no-unused-modules': 'error',
|
|
235
|
+
// // Module systems
|
|
236
|
+
// // 'import/no-amd': 'off',
|
|
237
|
+
// // 'import/no-commonjs': 'off',
|
|
238
|
+
// // 'import/no-import-module-exports': 'off',
|
|
239
|
+
// // 'import/no-nodejs-modules': 'off',
|
|
240
|
+
// // 'import/unambiguous': 'off',
|
|
241
|
+
// // Static analysis
|
|
242
|
+
// // 'import/default': 'error',
|
|
243
|
+
// // 'import/named': 'error',
|
|
244
|
+
// // 'import/namespace': 'error',
|
|
245
|
+
// // 'import/no-absolute-path': 'error',
|
|
246
|
+
// // 'import/no-cycle': 'off',
|
|
247
|
+
// // 'import/no-dynamic-require': 'off',
|
|
248
|
+
// // 'import/no-internal-modules': 'off',
|
|
249
|
+
// // 'import/no-relative-packages': 'off',
|
|
250
|
+
// // 'import/no-relative-parent-imports': 'off',
|
|
251
|
+
// // 'import/no-restricted-paths': 'off',
|
|
252
|
+
// // 'import/no-self-import': 'off',
|
|
253
|
+
// 'import/no-unresolved': 'error',
|
|
254
|
+
// // 'import/no-useless-path-segments': 'error',
|
|
255
|
+
// // 'import/no-webpack-loader-syntax': 'error',
|
|
256
|
+
// // Style guide
|
|
257
|
+
// // 'import/consistent-type-specifier-style': 'off',
|
|
258
|
+
// // 'import/dynamic-import-chunkname': 'off',
|
|
259
|
+
// // 'import/exports-last': 'off',
|
|
260
|
+
// // 'import/extensions': 'off',
|
|
261
|
+
// 'import/first': 'error',
|
|
262
|
+
// // 'import/group-exports': 'off',
|
|
263
|
+
// // 'import/max-dependencies': 'off',
|
|
264
|
+
// 'import/newline-after-import': 'error',
|
|
265
|
+
// // 'import/no-anonymous-default-export': 'off',
|
|
266
|
+
// // 'import/no-default-export': 'off',
|
|
267
|
+
// 'import/no-duplicates': 'error',
|
|
268
|
+
// // 'import/no-named-default': 'off',
|
|
269
|
+
// // 'import/no-named-export': 'off',
|
|
270
|
+
// // 'import/no-namespace': 'off',
|
|
271
|
+
// // 'import/no-unassigned-import': 'off',
|
|
272
|
+
// 'import/order': 'error',
|
|
273
|
+
// // 'import/prefer-default-export': 'off',
|
|
274
274
|
},
|
|
275
275
|
settings: {
|
|
276
276
|
"import-x/resolver": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lntvow/eslint-config",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.20.0",
|
|
4
4
|
"description": "eslint-config",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [
|
|
@@ -30,12 +30,12 @@
|
|
|
30
30
|
"prettier": ">=3.0.0"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@eslint/js": "^9.
|
|
33
|
+
"@eslint/js": "^9.20.0",
|
|
34
34
|
"@lntvow/utils": "^3.2.2",
|
|
35
35
|
"@stylistic/eslint-plugin": "^2.10.1",
|
|
36
36
|
"@typescript-eslint/eslint-plugin": "^8.13.0",
|
|
37
37
|
"@typescript-eslint/parser": "^8.13.0",
|
|
38
|
-
"eslint": "^9.
|
|
38
|
+
"eslint": "^9.20.0",
|
|
39
39
|
"eslint-config-prettier": "^9.1.0",
|
|
40
40
|
"eslint-flat-config-utils": "^0.4.0",
|
|
41
41
|
"eslint-import-resolver-alias": "^1.1.2",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"parse-gitignore": "^2.0.0",
|
|
51
51
|
"typescript": "^5.6.3",
|
|
52
52
|
"vue-eslint-parser": "^9.4.3",
|
|
53
|
-
"@lntvow/eslint-plugin": "^9.
|
|
53
|
+
"@lntvow/eslint-plugin": "^9.20.0"
|
|
54
54
|
},
|
|
55
55
|
"scripts": {
|
|
56
56
|
"dev": "tsup --format esm",
|