@infernodesign/eslint-config 2.0.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/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.0.0";
11
+ var version = "2.1.1";
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
@@ -102,48 +102,57 @@ const GLOB_ALL_SRC = [
102
102
  GLOB_HTML
103
103
  ];
104
104
  const GLOB_EXCLUDE = [
105
- "**/__snapshots__",
105
+ "**/.agents",
106
+ "**/.antigravity",
106
107
  "**/.bmad",
107
- "**/.cache",
108
- "**/.changeset",
108
+ "**/.context",
109
+ "**/.codex",
109
110
  "**/.claude",
110
111
  "**/.cursor",
112
+ "**/.windsurf",
113
+ "**/.*/skills",
114
+ "**/AGENTS.md",
115
+ "**/.idea",
116
+ "**/.vscode",
117
+ "**/.zed",
118
+ "**/__snapshots__",
119
+ "**/coverage",
120
+ "**/.cache",
111
121
  "**/.eslintcache",
122
+ "**/.temp",
123
+ "**/.tmp",
124
+ "**/.vitepress/cache",
125
+ "**/temp",
126
+ "**/tmp",
112
127
  "**/.history",
113
- "**/.idea",
114
128
  "**/.next",
115
129
  "**/.nuxt",
116
130
  "**/.output",
117
131
  "**/.svelte-kit",
118
- "**/.temp",
119
- "**/.tmp",
120
132
  "**/.turbo",
121
133
  "**/.vercel",
122
134
  "**/.vite-inspect",
123
- "**/.vitepress/cache",
124
- "**/.vscode",
125
- "**/.windsurf",
126
- "**/.yarn",
127
135
  "**/*.min.*",
128
136
  "**/auto-import?(s).d.ts",
129
137
  "**/build",
130
- "**/bun.lock",
131
- "**/bun.lockb",
132
- "**/CHANGELOG*.md",
133
138
  "**/components.d.ts",
134
- "**/coverage",
135
139
  "**/dist",
136
- "**/LICENSE*",
137
140
  "**/next-env.d.ts",
138
- "**/node_modules",
139
141
  "**/out",
140
142
  "**/output",
143
+ "**/vite.config.*.timestamp-*",
144
+ "**/.changeset",
145
+ "**/.private",
146
+ "**/private",
147
+ "**/CHANGELOG*.md",
148
+ "**/LICENSE*.md",
149
+ "**/.yarn",
150
+ "**/bun.lock",
151
+ "**/bun.lockb",
141
152
  "**/package-lock.json",
142
153
  "**/pnpm-lock.yaml",
143
- "**/temp",
144
- "**/tmp",
154
+ "**/node_modules",
145
155
  "**/vendor",
146
- "**/vite.config.*.timestamp-*",
147
156
  "**/yarn.lock"
148
157
  ];
149
158
  const GLOB_SEARCH_EXCLUDE = new Set([
@@ -1568,15 +1577,7 @@ async function perfectionist() {
1568
1577
  specialCharacters: "keep",
1569
1578
  type: "alphabetical"
1570
1579
  }],
1571
- "perfectionist/sort-objects": ["error", {
1572
- fallbackSort: { type: "unsorted" },
1573
- newlinesBetween: "ignore",
1574
- order: "asc",
1575
- partitionByComment: true,
1576
- partitionByNewLine: true,
1577
- specialCharacters: "keep",
1578
- type: "alphabetical"
1579
- }],
1580
+ "perfectionist/sort-objects": "off",
1580
1581
  "perfectionist/sort-sets": ["error", {
1581
1582
  fallbackSort: { type: "unsorted" },
1582
1583
  newlinesBetween: "ignore",
@@ -2529,7 +2530,6 @@ async function typescript(options = {}) {
2529
2530
  const ignoresTypeAware = options.ignoresTypeAware ?? [`**/*.md/**`, "**/*.astro/*.ts"];
2530
2531
  const tsconfigPath = options?.tsconfigPath ? options.tsconfigPath : void 0;
2531
2532
  const isTypeAware = !!tsconfigPath;
2532
- const isStrict = strict ?? false;
2533
2533
  const typeAwareRules = {
2534
2534
  "dot-notation": "off",
2535
2535
  "no-implied-eval": "off",
@@ -2541,7 +2541,7 @@ async function typescript(options = {}) {
2541
2541
  "ts/return-await": ["error", "in-try-catch"],
2542
2542
  "ts/switch-exhaustiveness-check": "error",
2543
2543
  "ts/unbound-method": "error",
2544
- ...isStrict ? {
2544
+ ...strict ?? false ? {
2545
2545
  "ts/no-floating-promises": "error",
2546
2546
  "ts/no-for-in-array": "error",
2547
2547
  "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.0.0",
4
+ "version": "2.1.1",
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",