@santi020k/eslint-config-santi020k 3.2.6 → 3.2.7

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.
Files changed (2) hide show
  1. package/dist/index.js +24 -17
  2. package/package.json +32 -32
package/dist/index.js CHANGED
@@ -253,7 +253,7 @@ var jsConfig = [
253
253
  },
254
254
  {
255
255
  name: "stylistic",
256
- ...pluginStylistic.configs["recommended-flat"]
256
+ ...pluginStylistic.configs.recommended
257
257
  },
258
258
  {
259
259
  name: "custom-js",
@@ -263,14 +263,6 @@ var jsConfig = [
263
263
  }
264
264
  ];
265
265
 
266
- // src/utils/flat-compat.ts
267
- import { getDirname } from "cross-dirname";
268
- import { FlatCompat } from "@eslint/eslintrc";
269
- var flatCompat = new FlatCompat({
270
- baseDirectory: getDirname(),
271
- recommendedConfig: {}
272
- });
273
-
274
266
  // src/configs/next/rules.ts
275
267
  var rules3 = {
276
268
  "simple-import-sort/imports": [
@@ -287,9 +279,16 @@ var rules3 = {
287
279
  };
288
280
 
289
281
  // src/configs/next/index.config.ts
290
- import { fixupConfigRules } from "@eslint/compat";
282
+ import pluginNext from "@next/eslint-plugin-next";
291
283
  var nextConfig = [
292
- ...fixupConfigRules(flatCompat.extends("plugin:@next/next/core-web-vitals")),
284
+ {
285
+ plugins: {
286
+ "@next/next": pluginNext
287
+ },
288
+ rules: {
289
+ ...pluginNext.configs["core-web-vitals"].rules
290
+ }
291
+ },
293
292
  {
294
293
  name: "custom-next",
295
294
  rules: rules3
@@ -352,7 +351,7 @@ var rules4 = {
352
351
  };
353
352
 
354
353
  // src/configs/react/index.config.ts
355
- import { fixupConfigRules as fixupConfigRules2 } from "@eslint/compat";
354
+ import { fixupConfigRules } from "@eslint/compat";
356
355
  var languageOptions2 = {
357
356
  ecmaVersion: "latest",
358
357
  sourceType: "module",
@@ -363,7 +362,7 @@ var languageOptions2 = {
363
362
  }
364
363
  };
365
364
  var reactConfig = [
366
- ...fixupConfigRules2(pluginReactConfig).map((react) => ({
365
+ ...fixupConfigRules(pluginReactConfig).map((react) => ({
367
366
  ...react,
368
367
  name: "react",
369
368
  languageOptions: languageOptions2,
@@ -441,6 +440,14 @@ var tsConfig = [
441
440
  }
442
441
  ];
443
442
 
443
+ // src/utils/flat-compat.ts
444
+ import { getDirname } from "cross-dirname";
445
+ import { FlatCompat } from "@eslint/eslintrc";
446
+ var flatCompat = new FlatCompat({
447
+ baseDirectory: getDirname(),
448
+ recommendedConfig: {}
449
+ });
450
+
444
451
  // src/configs/expo/rules.ts
445
452
  var rules6 = {
446
453
  "simple-import-sort/imports": [
@@ -457,9 +464,9 @@ var rules6 = {
457
464
  };
458
465
 
459
466
  // src/configs/expo/index.config.ts
460
- import { fixupConfigRules as fixupConfigRules3 } from "@eslint/compat";
467
+ import { fixupConfigRules as fixupConfigRules2 } from "@eslint/compat";
461
468
  var expoConfig = [
462
- ...fixupConfigRules3(flatCompat.extends("expo")),
469
+ ...fixupConfigRules2(flatCompat.extends("expo")),
463
470
  {
464
471
  name: "custom-expo",
465
472
  rules: rules6
@@ -476,9 +483,9 @@ var cspell = [
476
483
  ];
477
484
 
478
485
  // src/optionals/i18next.ts
479
- import { fixupConfigRules as fixupConfigRules4 } from "@eslint/compat";
486
+ import { fixupConfigRules as fixupConfigRules3 } from "@eslint/compat";
480
487
  var i18next = [
481
- ...fixupConfigRules4(flatCompat.plugins("i18next"))
488
+ ...fixupConfigRules3(flatCompat.plugins("i18next"))
482
489
  ];
483
490
 
484
491
  // src/optionals/markdown.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@santi020k/eslint-config-santi020k",
3
- "version": "3.2.6",
3
+ "version": "3.2.7",
4
4
  "description": "A comprehensive ESLint configuration package for JavaScript, TypeScript, and React projects, including popular plugins and custom rules for consistent coding style.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -61,51 +61,51 @@
61
61
  "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
62
62
  },
63
63
  "devDependencies": {
64
- "@eslint/config-inspector": "^1.0.2",
65
- "@types/node": "^24.0.10",
64
+ "@eslint/config-inspector": "^1.4.2",
65
+ "@types/node": "^25.2.1",
66
66
  "cz-conventional-changelog": "^3.3.0",
67
- "esbuild": "^0.25.4",
67
+ "esbuild": "^0.27.3",
68
68
  "husky": "^9.1.7",
69
- "lint-staged": "^16.1.2",
70
- "react": "^19.1.0",
71
- "react-dom": "^19.1.0",
69
+ "lint-staged": "^16.2.7",
70
+ "react": "^19.2.4",
71
+ "react-dom": "^19.2.4",
72
72
  "tslib": "^2.8.1",
73
- "tsup": "^8.4.0",
74
- "typescript": "^5.8.3",
73
+ "tsup": "^8.5.1",
74
+ "typescript": "^5.9.3",
75
75
  "yalc": "^1.0.0-pre.53"
76
76
  },
77
77
  "dependencies": {
78
- "@cspell/eslint-plugin": "^9.0.1",
79
- "@eslint/compat": "^1.2.9",
80
- "@eslint/js": "^9.26.0",
81
- "@eslint/markdown": "^6.4.0",
82
- "@next/eslint-plugin-next": "^15.3.2",
78
+ "@cspell/eslint-plugin": "^9.6.4",
79
+ "@eslint/compat": "^2.0.2",
80
+ "@eslint/js": "^9.39.2",
81
+ "@eslint/markdown": "^7.5.1",
82
+ "@next/eslint-plugin-next": "^16.1.6",
83
83
  "@stencil-community/eslint-plugin": "^0.10.0",
84
- "@stylistic/eslint-plugin": "^5.1.0",
85
- "@typescript-eslint/eslint-plugin": "^8.32.0",
86
- "@typescript-eslint/type-utils": "^8.32.0",
84
+ "@stylistic/eslint-plugin": "^5.7.1",
85
+ "@typescript-eslint/eslint-plugin": "^8.54.0",
86
+ "@typescript-eslint/type-utils": "^8.54.0",
87
87
  "cross-dirname": "^0.1.0",
88
- "eslint": "^9.26.0",
89
- "eslint-config-expo": "^9.2.0",
88
+ "eslint": "^9.39.2",
89
+ "eslint-config-expo": "^10.0.0",
90
90
  "eslint-config-standard": "^17.1.0",
91
- "eslint-plugin-astro": "^1.3.1",
92
- "eslint-plugin-expo": "^0.1.4",
93
- "eslint-plugin-i18next": "^6.1.1",
94
- "eslint-plugin-import": "^2.31.0",
91
+ "eslint-plugin-astro": "^1.5.0",
92
+ "eslint-plugin-expo": "^1.0.0",
93
+ "eslint-plugin-i18next": "^6.1.3",
94
+ "eslint-plugin-import": "^2.32.0",
95
95
  "eslint-plugin-jsx-a11y": "^6.10.2",
96
- "eslint-plugin-mdx": "^3.4.1",
97
- "eslint-plugin-n": "^17.17.0",
96
+ "eslint-plugin-mdx": "^3.6.2",
97
+ "eslint-plugin-n": "^17.23.2",
98
98
  "eslint-plugin-promise": "^7.2.1",
99
99
  "eslint-plugin-react": "^7.37.5",
100
- "eslint-plugin-react-hooks": "^5.2.0",
100
+ "eslint-plugin-react-hooks": "^7.0.1",
101
101
  "eslint-plugin-simple-import-sort": "^12.1.1",
102
- "eslint-plugin-sonarjs": "^3.0.2",
103
- "eslint-plugin-tailwindcss": "^3.18.0",
104
- "eslint-plugin-testing-library": "^7.1.1",
105
- "eslint-plugin-unused-imports": "^4.1.4",
102
+ "eslint-plugin-sonarjs": "^3.0.6",
103
+ "eslint-plugin-tailwindcss": "^3.18.2",
104
+ "eslint-plugin-testing-library": "^7.15.4",
105
+ "eslint-plugin-unused-imports": "^4.3.0",
106
106
  "eslint-plugin-vitest": "^0.5.4",
107
- "globals": "^16.1.0",
108
- "typescript-eslint": "^8.32.0"
107
+ "globals": "^17.3.0",
108
+ "typescript-eslint": "^8.54.0"
109
109
  },
110
110
  "overrides": {
111
111
  "eslint-config-standard": "$eslint-config-standard",