@jimmy.codes/eslint-config 5.13.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 +1518 -816
  2. package/dist/index.js +5 -3
  3. package/package.json +23 -23
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"
@@ -437,6 +438,7 @@ import stylisticPlugin from "@stylistic/eslint-plugin";
437
438
 
438
439
  // src/rules/stylistic.ts
439
440
  var stylisticRules = {
441
+ "@stylistic/jsx-curly-brace-presence": ["error", "never"],
440
442
  "@stylistic/object-curly-newline": [
441
443
  "error",
442
444
  {
@@ -502,7 +504,7 @@ import eslintPluginUnicorn2 from "eslint-plugin-unicorn";
502
504
  // src/rules/unicorn.ts
503
505
  import eslintPluginUnicorn from "eslint-plugin-unicorn";
504
506
  var unicornRules = {
505
- ...eslintPluginUnicorn.configs["flat/recommended"].rules,
507
+ ...eslintPluginUnicorn.configs.recommended.rules,
506
508
  "unicorn/filename-case": "off",
507
509
  "unicorn/import-style": "off",
508
510
  "unicorn/no-abusive-eslint-disable": "off",
@@ -521,7 +523,7 @@ var unicornRules = {
521
523
  var unicornConfig = () => {
522
524
  return [
523
525
  {
524
- ...eslintPluginUnicorn2.configs["flat/recommended"],
526
+ ...eslintPluginUnicorn2.configs.recommended,
525
527
  name: "jimmy.codes/unicorn",
526
528
  rules: unicornRules
527
529
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jimmy.codes/eslint-config",
3
- "version": "5.13.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,39 +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
- "@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",
34
34
  "@types/eslint": "9.6.1",
35
- "@typescript-eslint/parser": "^8.32.0",
36
- "@typescript-eslint/utils": "^8.32.0",
37
- "@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",
38
38
  "astro-eslint-parser": "^1.2.2",
39
- "eslint-config-prettier": "^10.1.3",
40
- "eslint-import-resolver-typescript": "^4.3.4",
39
+ "eslint-config-prettier": "^10.1.5",
40
+ "eslint-import-resolver-typescript": "^4.4.2",
41
41
  "eslint-plugin-astro": "^1.3.1",
42
- "eslint-plugin-import-x": "^4.11.0",
43
- "eslint-plugin-jest": "^28.11.0",
42
+ "eslint-plugin-import-x": "^4.15.0",
43
+ "eslint-plugin-jest": "^28.12.0",
44
44
  "eslint-plugin-jest-dom": "^5.5.0",
45
- "eslint-plugin-jsdoc": "^50.6.11",
45
+ "eslint-plugin-jsdoc": "^50.7.1",
46
46
  "eslint-plugin-jsx-a11y": "^6.10.2",
47
- "eslint-plugin-n": "^17.17.0",
48
- "eslint-plugin-perfectionist": "^4.12.3",
47
+ "eslint-plugin-n": "^17.19.0",
48
+ "eslint-plugin-perfectionist": "^4.13.0",
49
49
  "eslint-plugin-playwright": "^2.2.0",
50
- "eslint-plugin-react-compiler": "19.1.0-rc.1",
50
+ "eslint-plugin-react-compiler": "19.1.0-rc.2",
51
51
  "eslint-plugin-react-hooks": "^5.2.0",
52
52
  "eslint-plugin-react-refresh": "0.4.20",
53
53
  "eslint-plugin-regexp": "^2.7.0",
54
54
  "eslint-plugin-storybook": "0.12.0",
55
- "eslint-plugin-testing-library": "^7.1.1",
56
- "eslint-plugin-unicorn": "^58.0.0",
57
- "globals": "^16.1.0",
55
+ "eslint-plugin-testing-library": "^7.3.0",
56
+ "eslint-plugin-unicorn": "^59.0.1",
57
+ "globals": "^16.2.0",
58
58
  "local-pkg": "^1.1.1",
59
- "typescript-eslint": "^8.32.0"
59
+ "typescript-eslint": "^8.33.1"
60
60
  },
61
61
  "peerDependencies": {
62
62
  "eslint": "^9.10.0"