@chris.araneo/eslint-config 0.0.49 → 0.0.50

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
@@ -2502,6 +2502,7 @@ var createConfigs = (sources = [], isTests = false, tsconfigRootDir) => {
2502
2502
  accessibility: "no-public"
2503
2503
  }
2504
2504
  ],
2505
+ "@typescript-eslint/require-await": "off",
2505
2506
  "@typescript-eslint/init-declarations": "off",
2506
2507
  "@typescript-eslint/member-ordering": [
2507
2508
  "error",
@@ -2540,10 +2541,19 @@ var createConfigs = (sources = [], isTests = false, tsconfigRootDir) => {
2540
2541
  format: ["PascalCase"]
2541
2542
  }
2542
2543
  ],
2544
+ "no-magic-numbers": "off",
2543
2545
  "@typescript-eslint/no-confusing-void-expression": "off",
2544
2546
  "@typescript-eslint/no-explicit-any": errorWhenNotTests,
2545
2547
  "@typescript-eslint/no-extraneous-class": "off",
2546
- "@typescript-eslint/no-magic-numbers": errorWhenNotTests,
2548
+ "@typescript-eslint/no-magic-numbers": [
2549
+ errorWhenNotTests,
2550
+ {
2551
+ ignoreEnums: true,
2552
+ ignoreNumericLiteralTypes: true,
2553
+ ignoreReadonlyClassProperties: true,
2554
+ ignoreTypeIndexes: true
2555
+ }
2556
+ ],
2547
2557
  "@typescript-eslint/no-non-null-assertion": errorWhenNotTests,
2548
2558
  "@typescript-eslint/no-unsafe-assignment": errorWhenNotTests,
2549
2559
  "@typescript-eslint/no-unsafe-call": errorWhenNotTests,
@@ -2554,7 +2564,7 @@ var createConfigs = (sources = [], isTests = false, tsconfigRootDir) => {
2554
2564
  "@typescript-eslint/prefer-destructuring": errorWhenNotTests,
2555
2565
  "@typescript-eslint/prefer-readonly-parameter-types": "off",
2556
2566
  "@typescript-eslint/strict-boolean-expressions": "off",
2557
- "@typescript-eslint/no-unsafe-type-assertion": "warn",
2567
+ "@typescript-eslint/no-unsafe-type-assertion": errorWhenNotTests,
2558
2568
  "id-length": "off",
2559
2569
  "max-lines-per-function": errorWhenNotTests,
2560
2570
  "new-cap": "off",