@meteorlxy/eslint-config 6.10.0 → 6.11.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 CHANGED
@@ -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": "error",
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
@@ -371,7 +371,7 @@ declare const builtinRules: {
371
371
  name: string;
372
372
  message: string;
373
373
  }, ...{
374
- name: "name" | "addEventListener" | "blur" | "close" | "closed" | "confirm" | "defaultStatus" | "defaultstatus" | "event" | "external" | "find" | "focus" | "frameElement" | "frames" | "history" | "innerHeight" | "innerWidth" | "length" | "location" | "locationbar" | "menubar" | "moveBy" | "moveTo" | "onblur" | "onerror" | "onfocus" | "onload" | "onresize" | "onunload" | "open" | "opener" | "opera" | "outerHeight" | "outerWidth" | "pageXOffset" | "pageYOffset" | "parent" | "print" | "removeEventListener" | "resizeBy" | "resizeTo" | "screen" | "screenLeft" | "screenTop" | "screenX" | "screenY" | "scroll" | "scrollbars" | "scrollBy" | "scrollTo" | "scrollX" | "scrollY" | "self" | "status" | "statusbar" | "stop" | "toolbar" | "top";
374
+ name: "external" | "parent" | "name" | "addEventListener" | "blur" | "close" | "closed" | "confirm" | "defaultStatus" | "defaultstatus" | "event" | "find" | "focus" | "frameElement" | "frames" | "history" | "innerHeight" | "innerWidth" | "length" | "location" | "locationbar" | "menubar" | "moveBy" | "moveTo" | "onblur" | "onerror" | "onfocus" | "onload" | "onresize" | "onunload" | "open" | "opener" | "opera" | "outerHeight" | "outerWidth" | "pageXOffset" | "pageYOffset" | "print" | "removeEventListener" | "resizeBy" | "resizeTo" | "screen" | "screenLeft" | "screenTop" | "screenX" | "screenY" | "scroll" | "scrollbars" | "scrollBy" | "scrollTo" | "scrollX" | "scrollY" | "self" | "status" | "statusbar" | "stop" | "toolbar" | "top";
375
375
  message: string;
376
376
  }[]];
377
377
  'no-restricted-imports': ["off", {
@@ -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': "error";
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
@@ -369,7 +369,7 @@ declare const builtinRules: {
369
369
  name: string;
370
370
  message: string;
371
371
  }, ...{
372
- name: "name" | "addEventListener" | "blur" | "close" | "closed" | "confirm" | "defaultStatus" | "defaultstatus" | "event" | "external" | "find" | "focus" | "frameElement" | "frames" | "history" | "innerHeight" | "innerWidth" | "length" | "location" | "locationbar" | "menubar" | "moveBy" | "moveTo" | "onblur" | "onerror" | "onfocus" | "onload" | "onresize" | "onunload" | "open" | "opener" | "opera" | "outerHeight" | "outerWidth" | "pageXOffset" | "pageYOffset" | "parent" | "print" | "removeEventListener" | "resizeBy" | "resizeTo" | "screen" | "screenLeft" | "screenTop" | "screenX" | "screenY" | "scroll" | "scrollbars" | "scrollBy" | "scrollTo" | "scrollX" | "scrollY" | "self" | "status" | "statusbar" | "stop" | "toolbar" | "top";
372
+ name: "external" | "parent" | "name" | "addEventListener" | "blur" | "close" | "closed" | "confirm" | "defaultStatus" | "defaultstatus" | "event" | "find" | "focus" | "frameElement" | "frames" | "history" | "innerHeight" | "innerWidth" | "length" | "location" | "locationbar" | "menubar" | "moveBy" | "moveTo" | "onblur" | "onerror" | "onfocus" | "onload" | "onresize" | "onunload" | "open" | "opener" | "opera" | "outerHeight" | "outerWidth" | "pageXOffset" | "pageYOffset" | "print" | "removeEventListener" | "resizeBy" | "resizeTo" | "screen" | "screenLeft" | "screenTop" | "screenX" | "screenY" | "scroll" | "scrollbars" | "scrollBy" | "scrollTo" | "scrollX" | "scrollY" | "self" | "status" | "statusbar" | "stop" | "toolbar" | "top";
373
373
  message: string;
374
374
  }[]];
375
375
  'no-restricted-imports': ["off", {
@@ -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': "error";
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
@@ -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": "error",
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", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meteorlxy/eslint-config",
3
- "version": "6.10.0",
3
+ "version": "6.11.0",
4
4
  "description": "meteorlxy eslint config",
5
5
  "keywords": [
6
6
  "config",