@egy186/eslint-config 2.1.0 → 2.1.1

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/base.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import type { ESLint, Linter } from 'eslint';
2
+ import nPlugin from 'eslint-plugin-n';
2
3
  declare const config: {
3
4
  readonly files: ["**/*.{js,jsx,mjs}", "**/*.{ts,tsx,mts}"];
4
5
  readonly languageOptions: {
@@ -151,15 +152,7 @@ declare const config: {
151
152
  configs: Record<"recommended" | "recommended-error" | "recommended-typescript" | "recommended-typescript-error" | "recommended-typescript-flavor" | "recommended-typescript-flavor-error" | "flat/recommended" | "flat/recommended-error" | "flat/recommended-typescript" | "flat/recommended-typescript-error" | "flat/recommended-typescript-flavor" | "flat/recommended-typescript-flavor-error", import("eslint").Linter.FlatConfig>;
152
153
  };
153
154
  readonly n: ESLint.Plugin & {
154
- configs: {
155
- 'recommended-module': import("eslint").ESLint.ConfigData;
156
- 'recommended-script': import("eslint").ESLint.ConfigData;
157
- recommended: import("eslint").ESLint.ConfigData;
158
- 'flat/recommended-module': import("eslint").Linter.FlatConfig;
159
- 'flat/recommended-script': import("eslint").Linter.FlatConfig;
160
- 'flat/recommended': import("eslint").Linter.FlatConfig;
161
- 'flat/mixed-esm-and-cjs': import("eslint").Linter.FlatConfig[];
162
- };
155
+ configs: nPlugin.Configs;
163
156
  };
164
157
  };
165
158
  readonly rules: {
package/dist/browser.d.ts CHANGED
@@ -1709,15 +1709,7 @@ declare const config: {
1709
1709
  configs: Record<"recommended" | "recommended-error" | "recommended-typescript" | "recommended-typescript-error" | "recommended-typescript-flavor" | "recommended-typescript-flavor-error" | "flat/recommended" | "flat/recommended-error" | "flat/recommended-typescript" | "flat/recommended-typescript-error" | "flat/recommended-typescript-flavor" | "flat/recommended-typescript-flavor-error", import("eslint").Linter.FlatConfig>;
1710
1710
  };
1711
1711
  readonly n: import("eslint").ESLint.Plugin & {
1712
- configs: {
1713
- 'recommended-module': import("eslint").ESLint.ConfigData;
1714
- 'recommended-script': import("eslint").ESLint.ConfigData;
1715
- recommended: import("eslint").ESLint.ConfigData;
1716
- 'flat/recommended-module': import("eslint").Linter.FlatConfig;
1717
- 'flat/recommended-script': import("eslint").Linter.FlatConfig;
1718
- 'flat/recommended': import("eslint").Linter.FlatConfig;
1719
- 'flat/mixed-esm-and-cjs': import("eslint").Linter.FlatConfig[];
1720
- };
1712
+ configs: import("eslint-plugin-n").Configs;
1721
1713
  };
1722
1714
  };
1723
1715
  readonly settings: {
@@ -659,15 +659,7 @@ declare const config: {
659
659
  configs: Record<"recommended" | "recommended-error" | "recommended-typescript" | "recommended-typescript-error" | "recommended-typescript-flavor" | "recommended-typescript-flavor-error" | "flat/recommended" | "flat/recommended-error" | "flat/recommended-typescript" | "flat/recommended-typescript-error" | "flat/recommended-typescript-flavor" | "flat/recommended-typescript-flavor-error", import("eslint").Linter.FlatConfig>;
660
660
  };
661
661
  readonly n: import("eslint").ESLint.Plugin & {
662
- configs: {
663
- 'recommended-module': import("eslint").ESLint.ConfigData;
664
- 'recommended-script': import("eslint").ESLint.ConfigData;
665
- recommended: import("eslint").ESLint.ConfigData;
666
- 'flat/recommended-module': import("eslint").Linter.FlatConfig;
667
- 'flat/recommended-script': import("eslint").Linter.FlatConfig;
668
- 'flat/recommended': import("eslint").Linter.FlatConfig;
669
- 'flat/mixed-esm-and-cjs': import("eslint").Linter.FlatConfig[];
670
- };
662
+ configs: import("eslint-plugin-n").Configs;
671
663
  };
672
664
  };
673
665
  readonly settings: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@egy186/eslint-config",
3
3
  "description": "Eslint shareable config",
4
- "version": "2.1.0",
4
+ "version": "2.1.1",
5
5
  "author": "egy186",
6
6
  "bugs": {
7
7
  "url": "https://github.com/egy186/eslint-config/issues"
@@ -10,24 +10,24 @@
10
10
  "@stylistic/eslint-plugin": "~2.9.0",
11
11
  "eslint-plugin-import": "~2.31.0",
12
12
  "eslint-plugin-jsdoc": "~50.4.3",
13
- "eslint-plugin-n": "~17.11.1",
13
+ "eslint-plugin-n": "~17.12.0",
14
14
  "globals": "^15.11.0"
15
15
  },
16
16
  "devDependencies": {
17
17
  "@eslint-stylistic/metadata": "~2.9.0",
18
- "@eslint/js": "~9.12.0",
18
+ "@eslint/js": "~9.13.0",
19
19
  "@types/eslint": "^9.6.1",
20
20
  "@types/eslint__js": "^8.42.3",
21
- "@types/node": "^20.16.12",
22
- "eslint": "~9.12.0",
21
+ "@types/node": "^22.8.4",
22
+ "eslint": "~9.13.0",
23
23
  "eslint-import-resolver-typescript": "~3.6.3",
24
24
  "eslint-plugin-jest": "~28.8.3",
25
- "eslint-plugin-react": "~7.37.1",
25
+ "eslint-plugin-react": "~7.37.2",
26
26
  "eslint-plugin-react-hooks": "~5.0.0",
27
27
  "husky": "^9.1.6",
28
28
  "jiti": "^2.3.3",
29
29
  "typescript": "~5.6.3",
30
- "typescript-eslint": "~8.10.0"
30
+ "typescript-eslint": "~8.12.2"
31
31
  },
32
32
  "engines": {
33
33
  "node": ">=18.18.0"