@meteorlxy/eslint-config 6.10.0 → 6.12.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 +2 -2
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -682,7 +682,7 @@ const importsRules = {
|
|
|
682
682
|
"vue",
|
|
683
683
|
"vuepress",
|
|
684
684
|
"webpack"
|
|
685
|
-
].map((tool) => `**/${tool}.config.{js,ts}`)
|
|
685
|
+
].map((tool) => `**/${tool}.config.{cjs,js,mjs,ts}`)
|
|
686
686
|
],
|
|
687
687
|
optionalDependencies: false
|
|
688
688
|
}],
|
|
@@ -1354,7 +1354,7 @@ const typescriptRules = {
|
|
|
1354
1354
|
}],
|
|
1355
1355
|
"@typescript-eslint/prefer-regexp-exec": "off",
|
|
1356
1356
|
"@typescript-eslint/prefer-ts-expect-error": "off",
|
|
1357
|
-
"@typescript-eslint/promise-function-async": "
|
|
1357
|
+
"@typescript-eslint/promise-function-async": "off",
|
|
1358
1358
|
"@typescript-eslint/require-array-sort-compare": ["error", { ignoreStringArrays: true }],
|
|
1359
1359
|
"@typescript-eslint/require-await": "warn",
|
|
1360
1360
|
"@typescript-eslint/restrict-template-expressions": ["warn", {
|
package/dist/index.d.cts
CHANGED
|
@@ -1323,7 +1323,7 @@ declare const typescriptRules: {
|
|
|
1323
1323
|
}];
|
|
1324
1324
|
'@typescript-eslint/prefer-regexp-exec': "off";
|
|
1325
1325
|
'@typescript-eslint/prefer-ts-expect-error': "off";
|
|
1326
|
-
'@typescript-eslint/promise-function-async': "
|
|
1326
|
+
'@typescript-eslint/promise-function-async': "off";
|
|
1327
1327
|
'@typescript-eslint/require-array-sort-compare': ["error", {
|
|
1328
1328
|
ignoreStringArrays: boolean;
|
|
1329
1329
|
}];
|
package/dist/index.d.mts
CHANGED
|
@@ -1321,7 +1321,7 @@ declare const typescriptRules: {
|
|
|
1321
1321
|
}];
|
|
1322
1322
|
'@typescript-eslint/prefer-regexp-exec': "off";
|
|
1323
1323
|
'@typescript-eslint/prefer-ts-expect-error': "off";
|
|
1324
|
-
'@typescript-eslint/promise-function-async': "
|
|
1324
|
+
'@typescript-eslint/promise-function-async': "off";
|
|
1325
1325
|
'@typescript-eslint/require-array-sort-compare': ["error", {
|
|
1326
1326
|
ignoreStringArrays: boolean;
|
|
1327
1327
|
}];
|
package/dist/index.mjs
CHANGED
|
@@ -635,7 +635,7 @@ const importsRules = {
|
|
|
635
635
|
"vue",
|
|
636
636
|
"vuepress",
|
|
637
637
|
"webpack"
|
|
638
|
-
].map((tool) => `**/${tool}.config.{js,ts}`)
|
|
638
|
+
].map((tool) => `**/${tool}.config.{cjs,js,mjs,ts}`)
|
|
639
639
|
],
|
|
640
640
|
optionalDependencies: false
|
|
641
641
|
}],
|
|
@@ -1307,7 +1307,7 @@ const typescriptRules = {
|
|
|
1307
1307
|
}],
|
|
1308
1308
|
"@typescript-eslint/prefer-regexp-exec": "off",
|
|
1309
1309
|
"@typescript-eslint/prefer-ts-expect-error": "off",
|
|
1310
|
-
"@typescript-eslint/promise-function-async": "
|
|
1310
|
+
"@typescript-eslint/promise-function-async": "off",
|
|
1311
1311
|
"@typescript-eslint/require-array-sort-compare": ["error", { ignoreStringArrays: true }],
|
|
1312
1312
|
"@typescript-eslint/require-await": "warn",
|
|
1313
1313
|
"@typescript-eslint/restrict-template-expressions": ["warn", {
|