@rhyster/eslint-config 1.1.0 → 1.3.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.
@@ -41,7 +41,7 @@ declare const _default: ({
41
41
  };
42
42
  } | {
43
43
  files: string[];
44
- rules: Readonly<import("eslint").Linter.RulesRecord>;
44
+ rules: Readonly<Linter.RulesRecord>;
45
45
  } | {
46
46
  files: string[];
47
47
  name: string;
@@ -846,6 +846,7 @@ declare const _default: ({
846
846
  'import-x/default': "off";
847
847
  'import-x/no-named-as-default-member': "off";
848
848
  'import-x/no-unresolved': "off";
849
+ '@typescript-eslint/strict-boolean-expressions': "error";
849
850
  };
850
851
  } | {
851
852
  files: string[];
@@ -1 +1 @@
1
- {"version":3,"file":"eslint.config.d.ts","sourceRoot":"","sources":["../eslint.config.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGrB,wBAuB4B"}
package/dist/index.cjs CHANGED
@@ -450,7 +450,11 @@ const errors = {
450
450
  "no-console": [
451
451
  "error",
452
452
  {
453
- allow: ["warn", "error"]
453
+ allow: [
454
+ "info",
455
+ "warn",
456
+ "error"
457
+ ]
454
458
  }
455
459
  ],
456
460
  // Disallows expressions where the operation doesn't affect the value
@@ -1815,7 +1819,9 @@ const typescript = {
1815
1819
  "import-x/namespace": "off",
1816
1820
  "import-x/default": "off",
1817
1821
  "import-x/no-named-as-default-member": "off",
1818
- "import-x/no-unresolved": "off"
1822
+ "import-x/no-unresolved": "off",
1823
+ // https://typescript-eslint.io/rules/strict-boolean-expressions/
1824
+ "@typescript-eslint/strict-boolean-expressions": "error"
1819
1825
  }
1820
1826
  };
1821
1827