@infernodesign/eslint-config 1.22.0 → 1.23.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 +2 -2
- package/dist/index.d.ts +6 -2
- package/dist/index.js +1 -1
- package/package.json +12 -12
package/dist/cli.js
CHANGED
|
@@ -9,7 +9,7 @@ import parse from "parse-gitignore";
|
|
|
9
9
|
import { execSync } from "node:child_process";
|
|
10
10
|
|
|
11
11
|
//#region package.json
|
|
12
|
-
var version = "1.
|
|
12
|
+
var version = "1.23.0";
|
|
13
13
|
|
|
14
14
|
//#endregion
|
|
15
15
|
//#region src/cli/constants.ts
|
|
@@ -197,7 +197,7 @@ const versionsMap = {
|
|
|
197
197
|
"@next/eslint-plugin-next": "^16.1.6",
|
|
198
198
|
"@unocss/eslint-plugin": "^66.6.0",
|
|
199
199
|
"astro-eslint-parser": "^1.3.0",
|
|
200
|
-
"eslint": "^10.0.
|
|
200
|
+
"eslint": "^10.0.1",
|
|
201
201
|
"eslint-plugin-astro": "^1.6.0",
|
|
202
202
|
"eslint-plugin-better-tailwindcss": "^4.3.0",
|
|
203
203
|
"eslint-plugin-format": "^1.4.0",
|
package/dist/index.d.ts
CHANGED
|
@@ -15345,13 +15345,17 @@ type StylePaddedBlocks = [] | [(("always" | "never" | "start" | "end") | {
|
|
|
15345
15345
|
allowSingleLineBlocks?: boolean;
|
|
15346
15346
|
}]; // ----- style/padding-line-between-statements -----
|
|
15347
15347
|
type _StylePaddingLineBetweenStatementsPaddingType = ("any" | "never" | "always");
|
|
15348
|
-
type _StylePaddingLineBetweenStatementsStatementOption = (
|
|
15348
|
+
type _StylePaddingLineBetweenStatementsStatementOption = (_StylePaddingLineBetweenStatementsStatementMatcher | [_StylePaddingLineBetweenStatementsStatementMatcher, ...(_StylePaddingLineBetweenStatementsStatementMatcher)[]]);
|
|
15349
|
+
type _StylePaddingLineBetweenStatementsStatementMatcher = (_StylePaddingLineBetweenStatementsStatementType | _StylePaddingLineBetweenStatements_SelectorOption);
|
|
15349
15350
|
type _StylePaddingLineBetweenStatementsStatementType = ("*" | "exports" | "require" | "directive" | "iife" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "continue" | "debugger" | "default" | "do" | "for" | "if" | "import" | "switch" | "throw" | "try" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "function-overload" | "block-like" | "singleline-block-like" | "multiline-block-like" | "expression" | "singleline-expression" | "multiline-expression" | "return" | "singleline-return" | "multiline-return" | "export" | "singleline-export" | "multiline-export" | "var" | "singleline-var" | "multiline-var" | "let" | "singleline-let" | "multiline-let" | "const" | "singleline-const" | "multiline-const" | "using" | "singleline-using" | "multiline-using" | "type" | "singleline-type" | "multiline-type");
|
|
15350
15351
|
type StylePaddingLineBetweenStatements = {
|
|
15351
15352
|
blankLine: _StylePaddingLineBetweenStatementsPaddingType;
|
|
15352
15353
|
prev: _StylePaddingLineBetweenStatementsStatementOption;
|
|
15353
15354
|
next: _StylePaddingLineBetweenStatementsStatementOption;
|
|
15354
|
-
}[];
|
|
15355
|
+
}[];
|
|
15356
|
+
interface _StylePaddingLineBetweenStatements_SelectorOption {
|
|
15357
|
+
selector: string;
|
|
15358
|
+
} // ----- style/quote-props -----
|
|
15355
15359
|
type StyleQuoteProps = ([] | [("always" | "as-needed" | "consistent" | "consistent-as-needed")] | [] | [("always" | "as-needed" | "consistent" | "consistent-as-needed")] | [("always" | "as-needed" | "consistent" | "consistent-as-needed"), {
|
|
15356
15360
|
keywords?: boolean;
|
|
15357
15361
|
unnecessary?: boolean;
|
package/dist/index.js
CHANGED
|
@@ -2669,7 +2669,7 @@ async function typescript(options = {}) {
|
|
|
2669
2669
|
sourceType: "module",
|
|
2670
2670
|
...typeAware ? {
|
|
2671
2671
|
projectService: {
|
|
2672
|
-
allowDefaultProject: ["./*.js"],
|
|
2672
|
+
allowDefaultProject: ["./*.js", "./*.ts"],
|
|
2673
2673
|
defaultProject: tsconfigPath
|
|
2674
2674
|
},
|
|
2675
2675
|
tsconfigRootDir: process.cwd()
|
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": "1.
|
|
4
|
+
"version": "1.23.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "Inferno Design <support@infernodesign.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -50,24 +50,24 @@
|
|
|
50
50
|
"@clack/prompts": "1.0.1",
|
|
51
51
|
"@eslint-community/eslint-plugin-eslint-comments": "4.6.0",
|
|
52
52
|
"@eslint/compat": "2.0.2",
|
|
53
|
-
"@eslint/config-array": "0.23.
|
|
53
|
+
"@eslint/config-array": "0.23.2",
|
|
54
54
|
"@eslint/config-helpers": "0.5.2",
|
|
55
55
|
"@eslint/markdown": "7.5.1",
|
|
56
|
-
"@stylistic/eslint-plugin": "5.
|
|
56
|
+
"@stylistic/eslint-plugin": "5.9.0",
|
|
57
57
|
"@typescript-eslint/eslint-plugin": "8.56.0",
|
|
58
58
|
"@typescript-eslint/parser": "8.56.0",
|
|
59
59
|
"@typescript-eslint/utils": "8.56.0",
|
|
60
60
|
"@vitest/eslint-plugin": "1.6.9",
|
|
61
61
|
"ansis": "4.2.0",
|
|
62
62
|
"cac": "6.7.14",
|
|
63
|
-
"eslint-config-flat-gitignore": "2.1
|
|
63
|
+
"eslint-config-flat-gitignore": "2.2.1",
|
|
64
64
|
"eslint-flat-config-utils": "3.0.1",
|
|
65
65
|
"eslint-merge-processors": "2.0.0",
|
|
66
66
|
"eslint-plugin-antfu": "3.2.2",
|
|
67
67
|
"eslint-plugin-command": "3.4.0",
|
|
68
68
|
"eslint-plugin-import-lite": "0.5.1",
|
|
69
|
-
"eslint-plugin-jsdoc": "62.
|
|
70
|
-
"eslint-plugin-jsonc": "
|
|
69
|
+
"eslint-plugin-jsdoc": "62.7.0",
|
|
70
|
+
"eslint-plugin-jsonc": "3.0.0",
|
|
71
71
|
"eslint-plugin-n": "17.24.0",
|
|
72
72
|
"eslint-plugin-no-only-tests": "3.3.0",
|
|
73
73
|
"eslint-plugin-perfectionist": "5.6.0",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"eslint-plugin-yml": "3.2.1",
|
|
81
81
|
"eslint-processor-vue-blocks": "2.0.0",
|
|
82
82
|
"globals": "17.3.0",
|
|
83
|
-
"jsonc-eslint-parser": "
|
|
83
|
+
"jsonc-eslint-parser": "3.1.0",
|
|
84
84
|
"local-pkg": "1.1.2",
|
|
85
85
|
"parse-gitignore": "2.0.0",
|
|
86
86
|
"toml-eslint-parser": "1.0.3",
|
|
@@ -94,10 +94,10 @@
|
|
|
94
94
|
"@next/eslint-plugin-next": "16.1.6",
|
|
95
95
|
"@prettier/plugin-xml": "3.4.2",
|
|
96
96
|
"@types/eslint-plugin-jsx-a11y": "6.10.1",
|
|
97
|
-
"@types/node": "25.
|
|
97
|
+
"@types/node": "25.3.0",
|
|
98
98
|
"@unocss/eslint-plugin": "66.6.0",
|
|
99
99
|
"astro-eslint-parser": "1.3.0",
|
|
100
|
-
"eslint": "10.0.
|
|
100
|
+
"eslint": "10.0.1",
|
|
101
101
|
"eslint-plugin-astro": "1.6.0",
|
|
102
102
|
"eslint-plugin-better-tailwindcss": "4.3.0",
|
|
103
103
|
"eslint-plugin-erasable-syntax-only": "0.4.0",
|
|
@@ -109,14 +109,14 @@
|
|
|
109
109
|
"eslint-plugin-storybook": "10.2.10",
|
|
110
110
|
"eslint-plugin-svelte": "3.15.0",
|
|
111
111
|
"eslint-plugin-vuejs-accessibility": "2.5.0",
|
|
112
|
-
"eslint-typegen": "2.3.
|
|
112
|
+
"eslint-typegen": "2.3.1",
|
|
113
113
|
"execa": "9.6.1",
|
|
114
114
|
"find-up-simple": "1.0.1",
|
|
115
115
|
"jiti": "2.6.1",
|
|
116
116
|
"pnpm-workspace-yaml": "1.5.0",
|
|
117
117
|
"prettier-plugin-astro": "0.14.1",
|
|
118
118
|
"prettier-plugin-slidev": "1.0.5",
|
|
119
|
-
"svelte": "5.
|
|
119
|
+
"svelte": "5.53.0",
|
|
120
120
|
"svelte-eslint-parser": "1.4.1",
|
|
121
121
|
"tinyglobby": "0.2.15",
|
|
122
122
|
"tsdown": "0.20.3",
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
"@prettier/plugin-xml": "^3.4.2",
|
|
131
131
|
"@unocss/eslint-plugin": "^66.6.0",
|
|
132
132
|
"astro-eslint-parser": "^1.3.0",
|
|
133
|
-
"eslint": "^10.0.
|
|
133
|
+
"eslint": "^10.0.1",
|
|
134
134
|
"eslint-plugin-astro": "^1.6.0",
|
|
135
135
|
"eslint-plugin-better-tailwindcss": "^4.3.0",
|
|
136
136
|
"eslint-plugin-erasable-syntax-only": "^0.4.0",
|