@jimmy.codes/eslint-config 5.14.0 → 5.15.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.
Files changed (3) hide show
  1. package/dist/index.d.ts +1549 -1082
  2. package/dist/index.js +6 -7
  3. package/package.json +23 -24
package/dist/index.js CHANGED
@@ -64,7 +64,7 @@ var ignoresConfig = (ignores) => {
64
64
 
65
65
  // src/configs/imports.ts
66
66
  import { createTypeScriptImportResolver } from "eslint-import-resolver-typescript";
67
- import importX, { configs as configs2 } from "eslint-plugin-import-x";
67
+ import { configs as configs2, importX } from "eslint-plugin-import-x";
68
68
  import nodePlugin from "eslint-plugin-n";
69
69
 
70
70
  // src/rules/imports.ts
@@ -305,6 +305,7 @@ var nodeRules = {
305
305
  "n/no-path-concat": "error",
306
306
  "n/no-process-exit": "off",
307
307
  // TODO [2025-12-31]: enable this rule
308
+ "n/no-top-level-await": ["error", { ignoreBin: true }],
308
309
  "n/prefer-global/console": ["error", "always"],
309
310
  "n/prefer-node-protocol": "error",
310
311
  "n/process-exit-as-throw": "error"
@@ -434,11 +435,10 @@ var regexpConfig = () => {
434
435
 
435
436
  // src/configs/stylistic.ts
436
437
  import stylisticPlugin from "@stylistic/eslint-plugin";
437
- import stylisticJsx from "@stylistic/eslint-plugin-jsx";
438
438
 
439
439
  // src/rules/stylistic.ts
440
440
  var stylisticRules = {
441
- "@stylistic/jsx/jsx-curly-brace-presence": ["error", "never"],
441
+ "@stylistic/jsx-curly-brace-presence": ["error", "never"],
442
442
  "@stylistic/object-curly-newline": [
443
443
  "error",
444
444
  {
@@ -491,8 +491,7 @@ function stylisticConfig() {
491
491
  {
492
492
  name: "jimmy.codes/stylistic",
493
493
  plugins: {
494
- "@stylistic": stylisticPlugin,
495
- "@stylistic/jsx": stylisticJsx
494
+ "@stylistic": stylisticPlugin
496
495
  },
497
496
  rules: stylisticRules
498
497
  }
@@ -505,7 +504,7 @@ import eslintPluginUnicorn2 from "eslint-plugin-unicorn";
505
504
  // src/rules/unicorn.ts
506
505
  import eslintPluginUnicorn from "eslint-plugin-unicorn";
507
506
  var unicornRules = {
508
- ...eslintPluginUnicorn.configs["flat/recommended"].rules,
507
+ ...eslintPluginUnicorn.configs.recommended.rules,
509
508
  "unicorn/filename-case": "off",
510
509
  "unicorn/import-style": "off",
511
510
  "unicorn/no-abusive-eslint-disable": "off",
@@ -524,7 +523,7 @@ var unicornRules = {
524
523
  var unicornConfig = () => {
525
524
  return [
526
525
  {
527
- ...eslintPluginUnicorn2.configs["flat/recommended"],
526
+ ...eslintPluginUnicorn2.configs.recommended,
528
527
  name: "jimmy.codes/unicorn",
529
528
  rules: unicornRules
530
529
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jimmy.codes/eslint-config",
3
- "version": "5.14.0",
3
+ "version": "5.15.0",
4
4
  "description": "A pragmatic and opinionated ESLint config for modern development.",
5
5
  "keywords": [
6
6
  "eslint",
@@ -24,40 +24,39 @@
24
24
  ],
25
25
  "dependencies": {
26
26
  "@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
27
- "@eslint-react/eslint-plugin": "^1.49.0",
28
- "@eslint-react/kit": "^1.49.0",
29
- "@eslint-react/shared": "^1.49.0",
30
- "@eslint/js": "^9.26.0",
31
- "@next/eslint-plugin-next": "^15.3.2",
32
- "@stylistic/eslint-plugin": "^4.2.0",
33
- "@stylistic/eslint-plugin-jsx": "4.2.0",
34
- "@tanstack/eslint-plugin-query": "^5.74.7",
27
+ "@eslint-react/eslint-plugin": "^1.50.0",
28
+ "@eslint-react/kit": "^1.50.0",
29
+ "@eslint-react/shared": "^1.50.0",
30
+ "@eslint/js": "^9.28.0",
31
+ "@next/eslint-plugin-next": "^15.3.3",
32
+ "@stylistic/eslint-plugin": "^4.4.0",
33
+ "@tanstack/eslint-plugin-query": "^5.78.0",
35
34
  "@types/eslint": "9.6.1",
36
- "@typescript-eslint/parser": "^8.32.0",
37
- "@typescript-eslint/utils": "^8.32.0",
38
- "@vitest/eslint-plugin": "^1.1.44",
35
+ "@typescript-eslint/parser": "^8.33.1",
36
+ "@typescript-eslint/utils": "^8.33.1",
37
+ "@vitest/eslint-plugin": "^1.2.1",
39
38
  "astro-eslint-parser": "^1.2.2",
40
- "eslint-config-prettier": "^10.1.3",
41
- "eslint-import-resolver-typescript": "^4.3.4",
39
+ "eslint-config-prettier": "^10.1.5",
40
+ "eslint-import-resolver-typescript": "^4.4.2",
42
41
  "eslint-plugin-astro": "^1.3.1",
43
- "eslint-plugin-import-x": "^4.11.0",
44
- "eslint-plugin-jest": "^28.11.0",
42
+ "eslint-plugin-import-x": "^4.15.0",
43
+ "eslint-plugin-jest": "^28.12.0",
45
44
  "eslint-plugin-jest-dom": "^5.5.0",
46
- "eslint-plugin-jsdoc": "^50.6.11",
45
+ "eslint-plugin-jsdoc": "^50.7.1",
47
46
  "eslint-plugin-jsx-a11y": "^6.10.2",
48
- "eslint-plugin-n": "^17.17.0",
49
- "eslint-plugin-perfectionist": "^4.12.3",
47
+ "eslint-plugin-n": "^17.19.0",
48
+ "eslint-plugin-perfectionist": "^4.13.0",
50
49
  "eslint-plugin-playwright": "^2.2.0",
51
- "eslint-plugin-react-compiler": "19.1.0-rc.1",
50
+ "eslint-plugin-react-compiler": "19.1.0-rc.2",
52
51
  "eslint-plugin-react-hooks": "^5.2.0",
53
52
  "eslint-plugin-react-refresh": "0.4.20",
54
53
  "eslint-plugin-regexp": "^2.7.0",
55
54
  "eslint-plugin-storybook": "0.12.0",
56
- "eslint-plugin-testing-library": "^7.1.1",
57
- "eslint-plugin-unicorn": "^58.0.0",
58
- "globals": "^16.1.0",
55
+ "eslint-plugin-testing-library": "^7.3.0",
56
+ "eslint-plugin-unicorn": "^59.0.1",
57
+ "globals": "^16.2.0",
59
58
  "local-pkg": "^1.1.1",
60
- "typescript-eslint": "^8.32.0"
59
+ "typescript-eslint": "^8.33.1"
61
60
  },
62
61
  "peerDependencies": {
63
62
  "eslint": "^9.10.0"