@infernodesign/eslint-config 2.1.0 → 2.2.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.
package/dist/cli.js CHANGED
@@ -8,7 +8,7 @@ import { cac } from "cac";
8
8
  import parse from "parse-gitignore";
9
9
  import { execSync } from "node:child_process";
10
10
  //#region package.json
11
- var version = "2.1.0";
11
+ var version = "2.2.0";
12
12
  //#endregion
13
13
  //#region src/cli/constants.ts
14
14
  const vscodeSettingsString = `
@@ -187,12 +187,12 @@ async function updateEslintFiles(result) {
187
187
  //#region src/cli/constants-generated.ts
188
188
  const versionsMap = {
189
189
  "@eslint-react/eslint-plugin": "^4.2.3",
190
- "@next/eslint-plugin-next": "^16.2.2",
190
+ "@next/eslint-plugin-next": "^16.2.4",
191
191
  "@unocss/eslint-plugin": "^66.6.8",
192
192
  "astro-eslint-parser": "^1.4.0",
193
- "eslint": "^10.2.0",
193
+ "eslint": "^10.2.1",
194
194
  "eslint-plugin-astro": "^1.7.0",
195
- "eslint-plugin-better-tailwindcss": "^4.3.2",
195
+ "eslint-plugin-better-tailwindcss": "^4.4.1",
196
196
  "eslint-plugin-format": "^2.0.1",
197
197
  "eslint-plugin-react-refresh": "^0.5.2",
198
198
  "eslint-plugin-solid": "^0.14.5",
package/dist/index.d.ts CHANGED
@@ -12089,6 +12089,7 @@ type PerfectionistSortClasses = {
12089
12089
  matchesAstSelector?: string;
12090
12090
  };
12091
12091
  useExperimentalDependencyDetection?: boolean;
12092
+ newlinesBetweenOverloadSignatures?: ("ignore" | number);
12092
12093
  ignoreCallbackDependenciesPatterns?: (({
12093
12094
  pattern: string;
12094
12095
  flags?: string;
@@ -13452,6 +13453,7 @@ type PerfectionistSortModules = [] | [{
13452
13453
  })[];
13453
13454
  newlinesBetween?: ("ignore" | number);
13454
13455
  useExperimentalDependencyDetection?: boolean;
13456
+ newlinesBetweenOverloadSignatures?: ("ignore" | number);
13455
13457
  partitionByComment?: (boolean | (({
13456
13458
  pattern: string;
13457
13459
  flags?: string;
package/dist/index.js CHANGED
@@ -1535,6 +1535,7 @@ async function perfectionist() {
1535
1535
  "side-effect",
1536
1536
  "unknown"
1537
1537
  ],
1538
+ partitionByComment: true,
1538
1539
  newlinesBetween: 1,
1539
1540
  newlinesInside: 0,
1540
1541
  order: "asc",
@@ -1577,15 +1578,7 @@ async function perfectionist() {
1577
1578
  specialCharacters: "keep",
1578
1579
  type: "alphabetical"
1579
1580
  }],
1580
- "perfectionist/sort-objects": ["error", {
1581
- fallbackSort: { type: "unsorted" },
1582
- newlinesBetween: "ignore",
1583
- order: "asc",
1584
- partitionByComment: true,
1585
- partitionByNewLine: true,
1586
- specialCharacters: "keep",
1587
- type: "alphabetical"
1588
- }],
1581
+ "perfectionist/sort-objects": "off",
1589
1582
  "perfectionist/sort-sets": ["error", {
1590
1583
  fallbackSort: { type: "unsorted" },
1591
1584
  newlinesBetween: "ignore",
@@ -2538,7 +2531,6 @@ async function typescript(options = {}) {
2538
2531
  const ignoresTypeAware = options.ignoresTypeAware ?? [`**/*.md/**`, "**/*.astro/*.ts"];
2539
2532
  const tsconfigPath = options?.tsconfigPath ? options.tsconfigPath : void 0;
2540
2533
  const isTypeAware = !!tsconfigPath;
2541
- const isStrict = strict ?? false;
2542
2534
  const typeAwareRules = {
2543
2535
  "dot-notation": "off",
2544
2536
  "no-implied-eval": "off",
@@ -2550,7 +2542,7 @@ async function typescript(options = {}) {
2550
2542
  "ts/return-await": ["error", "in-try-catch"],
2551
2543
  "ts/switch-exhaustiveness-check": "error",
2552
2544
  "ts/unbound-method": "error",
2553
- ...isStrict ? {
2545
+ ...strict ?? false ? {
2554
2546
  "ts/no-floating-promises": "error",
2555
2547
  "ts/no-for-in-array": "error",
2556
2548
  "ts/no-implied-eval": "error",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@infernodesign/eslint-config",
3
3
  "description": "ESLint config for Inferno Design.",
4
- "version": "2.1.0",
4
+ "version": "2.2.0",
5
5
  "type": "module",
6
6
  "author": "Inferno Design <support@infernodesign.com>",
7
7
  "license": "MIT",
@@ -55,10 +55,10 @@
55
55
  "@eslint/config-helpers": "0.5.5",
56
56
  "@eslint/markdown": "8.0.1",
57
57
  "@stylistic/eslint-plugin": "5.10.0",
58
- "@typescript-eslint/eslint-plugin": "8.58.1",
59
- "@typescript-eslint/parser": "8.58.1",
60
- "@typescript-eslint/utils": "8.58.1",
61
- "@vitest/eslint-plugin": "1.6.14",
58
+ "@typescript-eslint/eslint-plugin": "8.59.0",
59
+ "@typescript-eslint/parser": "8.59.0",
60
+ "@typescript-eslint/utils": "8.59.0",
61
+ "@vitest/eslint-plugin": "1.6.16",
62
62
  "ansis": "4.2.0",
63
63
  "cac": "7.0.0",
64
64
  "eslint-config-flat-gitignore": "2.3.0",
@@ -71,7 +71,7 @@
71
71
  "eslint-plugin-jsonc": "3.1.2",
72
72
  "eslint-plugin-n": "17.24.0",
73
73
  "eslint-plugin-no-only-tests": "3.3.0",
74
- "eslint-plugin-perfectionist": "5.8.0",
74
+ "eslint-plugin-perfectionist": "5.9.0",
75
75
  "eslint-plugin-pnpm": "1.6.0",
76
76
  "eslint-plugin-regexp": "3.1.0",
77
77
  "eslint-plugin-toml": "1.3.1",
@@ -80,7 +80,7 @@
80
80
  "eslint-plugin-vue": "10.8.0",
81
81
  "eslint-plugin-yml": "3.3.1",
82
82
  "eslint-processor-vue-blocks": "2.0.0",
83
- "globals": "17.4.0",
83
+ "globals": "17.5.0",
84
84
  "jsonc-eslint-parser": "3.1.0",
85
85
  "local-pkg": "1.1.2",
86
86
  "parse-gitignore": "2.0.0",
@@ -90,17 +90,17 @@
90
90
  },
91
91
  "devDependencies": {
92
92
  "@eslint-react/eslint-plugin": "4.2.3",
93
- "@eslint/config-inspector": "1.5.0",
93
+ "@eslint/config-inspector": "2.0.0",
94
94
  "@infernodesign/typescript-config": "workspace:*",
95
- "@next/eslint-plugin-next": "16.2.2",
95
+ "@next/eslint-plugin-next": "16.2.4",
96
96
  "@prettier/plugin-xml": "3.4.2",
97
97
  "@types/eslint-plugin-jsx-a11y": "6.10.1",
98
- "@types/node": "25.5.2",
98
+ "@types/node": "25.6.0",
99
99
  "@unocss/eslint-plugin": "66.6.8",
100
100
  "astro-eslint-parser": "1.4.0",
101
- "eslint": "10.2.0",
101
+ "eslint": "10.2.1",
102
102
  "eslint-plugin-astro": "1.7.0",
103
- "eslint-plugin-better-tailwindcss": "4.3.2",
103
+ "eslint-plugin-better-tailwindcss": "4.4.1",
104
104
  "eslint-plugin-erasable-syntax-only": "0.4.0",
105
105
  "eslint-plugin-format": "2.0.1",
106
106
  "eslint-plugin-jsx-a11y": "6.10.2",
@@ -116,23 +116,23 @@
116
116
  "pnpm-workspace-yaml": "1.6.0",
117
117
  "prettier-plugin-astro": "0.14.1",
118
118
  "prettier-plugin-slidev": "1.0.5",
119
- "svelte": "5.55.2",
119
+ "svelte": "5.55.4",
120
120
  "svelte-eslint-parser": "1.6.0",
121
121
  "tinyglobby": "0.2.16",
122
- "tsdown": "0.21.7",
122
+ "tsdown": "0.21.9",
123
123
  "typescript": "5.9.3",
124
- "vitest": "4.1.3",
124
+ "vitest": "4.1.5",
125
125
  "vue": "3.5.32"
126
126
  },
127
127
  "peerDependencies": {
128
128
  "@eslint-react/eslint-plugin": "^4.2.3",
129
- "@next/eslint-plugin-next": "^16.2.2",
129
+ "@next/eslint-plugin-next": "^16.2.4",
130
130
  "@prettier/plugin-xml": "^3.4.2",
131
131
  "@unocss/eslint-plugin": "^66.6.8",
132
132
  "astro-eslint-parser": "^1.4.0",
133
- "eslint": "^10.2.0",
133
+ "eslint": "^10.2.1",
134
134
  "eslint-plugin-astro": "^1.7.0",
135
- "eslint-plugin-better-tailwindcss": "^4.3.2",
135
+ "eslint-plugin-better-tailwindcss": "^4.4.1",
136
136
  "eslint-plugin-erasable-syntax-only": "^0.4.0",
137
137
  "eslint-plugin-format": "^2.0.1",
138
138
  "eslint-plugin-jsx-a11y": "^6.10.2",