@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.
@@ -1 +1 @@
1
- {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../src/airbnb/errors.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,wBAoN0B"}
1
+ {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../src/airbnb/errors.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,wBAwN0B"}
@@ -1,9 +1,10 @@
1
+ import nodePlugin from 'eslint-plugin-n';
1
2
  import type { Linter } from 'eslint';
2
3
  type Config = Linter.Config;
3
4
  type Plugin = NonNullable<Config['plugins']>[string];
4
5
  type Parser = NonNullable<Config['languageOptions']>['parser'];
5
6
  export declare const core: [{
6
- readonly rules: Readonly<import("eslint").Linter.RulesRecord>;
7
+ readonly rules: Readonly<Linter.RulesRecord>;
7
8
  }, {
8
9
  readonly name: "@rhyster/eslint-config/files-ts";
9
10
  readonly files: ["**/*.ts"];
@@ -831,10 +832,11 @@ export declare const core: [{
831
832
  'import-x/default': "off";
832
833
  'import-x/no-named-as-default-member': "off";
833
834
  'import-x/no-unresolved': "off";
835
+ '@typescript-eslint/strict-boolean-expressions': "error";
834
836
  };
835
837
  }];
836
838
  export declare const node: [{
837
- readonly rules: Readonly<import("eslint").Linter.RulesRecord>;
839
+ readonly rules: Readonly<Linter.RulesRecord>;
838
840
  }, {
839
841
  readonly name: "@rhyster/eslint-config/files-ts";
840
842
  readonly files: ["**/*.ts"];
@@ -1662,6 +1664,7 @@ export declare const node: [{
1662
1664
  'import-x/default': "off";
1663
1665
  'import-x/no-named-as-default-member': "off";
1664
1666
  'import-x/no-unresolved': "off";
1667
+ '@typescript-eslint/strict-boolean-expressions': "error";
1665
1668
  };
1666
1669
  }, {
1667
1670
  readonly name: string;
@@ -1759,20 +1762,12 @@ export declare const node: [{
1759
1762
  };
1760
1763
  readonly plugins: {
1761
1764
  readonly n: import("eslint").ESLint.Plugin & {
1762
- configs: {
1763
- 'recommended-module': import("eslint").ESLint.ConfigData;
1764
- 'recommended-script': import("eslint").ESLint.ConfigData;
1765
- recommended: import("eslint").ESLint.ConfigData;
1766
- 'flat/recommended-module': import("eslint").Linter.FlatConfig;
1767
- 'flat/recommended-script': import("eslint").Linter.FlatConfig;
1768
- 'flat/recommended': import("eslint").Linter.FlatConfig;
1769
- 'flat/mixed-esm-and-cjs': import("eslint").Linter.FlatConfig[];
1770
- };
1765
+ configs: nodePlugin.Configs;
1771
1766
  };
1772
1767
  };
1773
1768
  }];
1774
1769
  export declare const browser: [{
1775
- readonly rules: Readonly<import("eslint").Linter.RulesRecord>;
1770
+ readonly rules: Readonly<Linter.RulesRecord>;
1776
1771
  }, {
1777
1772
  readonly name: "@rhyster/eslint-config/files-ts";
1778
1773
  readonly files: ["**/*.ts"];
@@ -2600,6 +2595,7 @@ export declare const browser: [{
2600
2595
  'import-x/default': "off";
2601
2596
  'import-x/no-named-as-default-member': "off";
2602
2597
  'import-x/no-unresolved': "off";
2598
+ '@typescript-eslint/strict-boolean-expressions': "error";
2603
2599
  };
2604
2600
  }, {
2605
2601
  readonly languageOptions: {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAErC,KAAK,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;AAC5B,KAAK,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC;AACrD,KAAK,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,iBAAiB,CAAC,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmFN,CAAC"}
@@ -43,6 +43,7 @@ declare const _default: {
43
43
  'import-x/default': "off";
44
44
  'import-x/no-named-as-default-member': "off";
45
45
  'import-x/no-unresolved': "off";
46
+ '@typescript-eslint/strict-boolean-expressions': "error";
46
47
  };
47
48
  };
48
49
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"typescript.d.ts","sourceRoot":"","sources":["../../src/typescript.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,wBAuF0B"}
1
+ {"version":3,"file":"typescript.d.ts","sourceRoot":"","sources":["../../src/typescript.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,wBA0F0B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rhyster/eslint-config",
3
- "version": "1.1.0",
3
+ "version": "1.3.0",
4
4
  "description": "ESLint config",
5
5
  "type": "module",
6
6
  "exports": {
@@ -37,23 +37,23 @@
37
37
  "devDependencies": {
38
38
  "@types/confusing-browser-globals": "^1.0.3",
39
39
  "@types/eslint__js": "^8.42.3",
40
- "eslint": "^9.13.0",
41
- "jiti": "^2.3.3",
40
+ "eslint": "^9.14.0",
41
+ "jiti": "^2.4.0",
42
42
  "typescript": "^5.6.3",
43
43
  "unbuild": "^2.0.0"
44
44
  },
45
45
  "peerDependencies": {
46
- "eslint": ">= 9.13.0"
46
+ "eslint": ">= 9"
47
47
  },
48
48
  "dependencies": {
49
- "@eslint/js": "^9.13.0",
50
- "@stylistic/eslint-plugin": "^2.9.0",
49
+ "@eslint/js": "^9.14.0",
50
+ "@stylistic/eslint-plugin": "^2.10.1",
51
51
  "confusing-browser-globals": "^1.0.11",
52
52
  "eslint-import-resolver-typescript": "^3.6.3",
53
- "eslint-plugin-import-x": "^4.3.1",
54
- "eslint-plugin-n": "^17.11.1",
53
+ "eslint-plugin-import-x": "^4.4.0",
54
+ "eslint-plugin-n": "^17.12.0",
55
55
  "globals": "^15.11.0",
56
- "typescript-eslint": "^8.12.1"
56
+ "typescript-eslint": "^8.12.2"
57
57
  },
58
58
  "packageManager": "pnpm@9.12.3+sha512.cce0f9de9c5a7c95bef944169cc5dfe8741abfb145078c0d508b868056848a87c81e626246cb60967cbd7fd29a6c062ef73ff840d96b3c86c40ac92cf4a813ee"
59
59
  }
@@ -32,7 +32,11 @@ export default {
32
32
  'no-console': [
33
33
  'error',
34
34
  {
35
- allow: ['warn', 'error'],
35
+ allow: [
36
+ 'info',
37
+ 'warn',
38
+ 'error',
39
+ ],
36
40
  },
37
41
  ],
38
42
 
package/src/typescript.ts CHANGED
@@ -86,5 +86,8 @@ export default {
86
86
  'import-x/default': 'off',
87
87
  'import-x/no-named-as-default-member': 'off',
88
88
  'import-x/no-unresolved': 'off',
89
+
90
+ // https://typescript-eslint.io/rules/strict-boolean-expressions/
91
+ '@typescript-eslint/strict-boolean-expressions': 'error',
89
92
  },
90
93
  } satisfies Linter.Config;