@infernodesign/eslint-config 2.17.0 → 2.19.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 +14 -14
- package/dist/constants-CZLDK59m.js +120 -0
- package/dist/index.d.ts +194 -122
- package/dist/index.js +9 -98
- package/package.json +40 -40
- package/dist/constants-JlDUTs3Q.js +0 -3
package/dist/cli.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as PACKAGE_NAME } from "./constants-CZLDK59m.js";
|
|
2
2
|
import fsPromises from "node:fs/promises";
|
|
3
3
|
import fs from "node:fs";
|
|
4
4
|
import path from "node:path";
|
|
@@ -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
|
// package.json
|
|
11
|
-
var version = "2.
|
|
11
|
+
var version = "2.19.0";
|
|
12
12
|
// src/cli/constants.ts
|
|
13
13
|
const vscodeSettingsString = `
|
|
14
14
|
// Disable the default formatter, use eslint instead
|
|
@@ -198,24 +198,24 @@ async function updateEslintFiles(result) {
|
|
|
198
198
|
}
|
|
199
199
|
// src/cli/constants-generated.ts
|
|
200
200
|
const versionsMap = {
|
|
201
|
-
"@eslint-react/eslint-plugin": "^5.
|
|
202
|
-
"@medusajs/eslint-plugin": "^2.22.
|
|
203
|
-
"@next/eslint-plugin-next": "^16.4.
|
|
204
|
-
"@sanity-labs/eslint-plugin": "^1.0.
|
|
205
|
-
"@shadcn/lint": "^0.2.
|
|
206
|
-
"@unocss/eslint-plugin": "^66.
|
|
201
|
+
"@eslint-react/eslint-plugin": "^5.30.2",
|
|
202
|
+
"@medusajs/eslint-plugin": "^2.22.7",
|
|
203
|
+
"@next/eslint-plugin-next": "^16.4.6",
|
|
204
|
+
"@sanity-labs/eslint-plugin": "^1.0.8",
|
|
205
|
+
"@shadcn/lint": "^0.2.5",
|
|
206
|
+
"@unocss/eslint-plugin": "^66.13.0",
|
|
207
207
|
"astro-eslint-parser": "^3.2.0",
|
|
208
|
-
"eslint": "^10.
|
|
208
|
+
"eslint": "^10.15.0",
|
|
209
209
|
"eslint-plugin-astro": "^3.2.1",
|
|
210
|
-
"eslint-plugin-better-tailwindcss": "^4.
|
|
210
|
+
"eslint-plugin-better-tailwindcss": "^4.11.0",
|
|
211
211
|
"eslint-plugin-format": "^2.0.1",
|
|
212
212
|
"eslint-plugin-react-refresh": "^0.5.7",
|
|
213
|
-
"eslint-plugin-solid": "^0.
|
|
214
|
-
"eslint-plugin-storybook": "^10.6.
|
|
215
|
-
"eslint-plugin-svelte": "^3.
|
|
213
|
+
"eslint-plugin-solid": "^0.19.0",
|
|
214
|
+
"eslint-plugin-storybook": "^10.6.7",
|
|
215
|
+
"eslint-plugin-svelte": "^3.24.1",
|
|
216
216
|
"prettier-plugin-astro": "^1.1.2",
|
|
217
217
|
"prettier-plugin-slidev": "^1.0.5",
|
|
218
|
-
"svelte-eslint-parser": "^1.10.
|
|
218
|
+
"svelte-eslint-parser": "^1.10.1"
|
|
219
219
|
};
|
|
220
220
|
// src/cli/stages/update-package-json.ts
|
|
221
221
|
async function updatePackageJson(result) {
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
// src/constants.ts
|
|
2
|
+
const PACKAGE_NAME = "@infernodesign/eslint-config";
|
|
3
|
+
/**
|
|
4
|
+
* PACKAGE_SORT_ORDER
|
|
5
|
+
*
|
|
6
|
+
* Specifies the order in which package.json properties should appear.
|
|
7
|
+
*
|
|
8
|
+
* This array establishes a preferred sequence to maintain consistency and readability
|
|
9
|
+
* when managing package.json files in JavaScript projects. It categorizes common properties
|
|
10
|
+
* such as metadata details, scripts, dependencies, and configuration settings in a logical
|
|
11
|
+
* and organized manner.
|
|
12
|
+
*
|
|
13
|
+
* Complex logic explanation:
|
|
14
|
+
* - The list starts with high-level metadata properties such as 'publisher', 'name', 'description',
|
|
15
|
+
* and 'version', which are typically the primary identifiers of the package.
|
|
16
|
+
* - After the initial metadata, configuration and module-related fields like 'type', 'private',
|
|
17
|
+
* and 'author' are listed to group related attributes together.
|
|
18
|
+
* - Dependency-related fields are grouped towards the end, including 'dependencies', 'devDependencies',
|
|
19
|
+
* and 'optionalDependencies'.
|
|
20
|
+
* - Special configurations and overrides, such as 'resolutions' and 'overrides', are at the end
|
|
21
|
+
* to keep the file manageable and to separate primary package information from auxiliary settings.
|
|
22
|
+
*
|
|
23
|
+
* @type {string[]}
|
|
24
|
+
*
|
|
25
|
+
* @returns {string[]} Returns the package.json sort order
|
|
26
|
+
*/
|
|
27
|
+
const PACKAGE_SORT_ORDER = [
|
|
28
|
+
"publisher",
|
|
29
|
+
"name",
|
|
30
|
+
"displayName",
|
|
31
|
+
"description",
|
|
32
|
+
"version",
|
|
33
|
+
"type",
|
|
34
|
+
"private",
|
|
35
|
+
"author",
|
|
36
|
+
"contributors",
|
|
37
|
+
"license",
|
|
38
|
+
"funding",
|
|
39
|
+
"homepage",
|
|
40
|
+
"repository",
|
|
41
|
+
"bugs",
|
|
42
|
+
"keywords",
|
|
43
|
+
"categories",
|
|
44
|
+
"sideEffects",
|
|
45
|
+
"exports",
|
|
46
|
+
"main",
|
|
47
|
+
"module",
|
|
48
|
+
"unpkg",
|
|
49
|
+
"jsdelivr",
|
|
50
|
+
"types",
|
|
51
|
+
"typesVersions",
|
|
52
|
+
"bin",
|
|
53
|
+
"icon",
|
|
54
|
+
"files",
|
|
55
|
+
"browserslist",
|
|
56
|
+
"engines",
|
|
57
|
+
"engineStrict",
|
|
58
|
+
"packageManager",
|
|
59
|
+
"publishConfig",
|
|
60
|
+
"activationEvents",
|
|
61
|
+
"contributes",
|
|
62
|
+
"scripts",
|
|
63
|
+
"dependencies",
|
|
64
|
+
"devDependencies",
|
|
65
|
+
"optionalDependencies",
|
|
66
|
+
"peerDependencies",
|
|
67
|
+
"peerDependenciesMeta",
|
|
68
|
+
"pnpm",
|
|
69
|
+
"overrides",
|
|
70
|
+
"resolutions",
|
|
71
|
+
"husky",
|
|
72
|
+
"simple-git-hooks",
|
|
73
|
+
"lint-staged",
|
|
74
|
+
"eslintConfig",
|
|
75
|
+
"prettier"
|
|
76
|
+
];
|
|
77
|
+
/**
|
|
78
|
+
* PACKAGE_EXPORTS_SORT_ORDER
|
|
79
|
+
*
|
|
80
|
+
* Specifies the order in which package.json exports should appear.
|
|
81
|
+
*
|
|
82
|
+
* This array establishes a preferred sequence to maintain consistency and readability
|
|
83
|
+
* when managing package.json exports in JavaScript projects.
|
|
84
|
+
*
|
|
85
|
+
* @type {string[]}
|
|
86
|
+
*
|
|
87
|
+
* @returns {string[]} Returns the package.json exports sort order
|
|
88
|
+
*/
|
|
89
|
+
const PACKAGE_EXPORTS_SORT_ORDER = [
|
|
90
|
+
"types",
|
|
91
|
+
"node-addons",
|
|
92
|
+
"node",
|
|
93
|
+
"browser",
|
|
94
|
+
"import",
|
|
95
|
+
"require",
|
|
96
|
+
"development",
|
|
97
|
+
"production",
|
|
98
|
+
"default"
|
|
99
|
+
];
|
|
100
|
+
/**
|
|
101
|
+
* packageSortOrder
|
|
102
|
+
*
|
|
103
|
+
* @type {string[]}
|
|
104
|
+
*
|
|
105
|
+
* @deprecated Use PACKAGE_SORT_ORDER instead
|
|
106
|
+
*
|
|
107
|
+
* @returns {string[]} Returns the package.json sort order
|
|
108
|
+
*/
|
|
109
|
+
const packageSortOrder = PACKAGE_SORT_ORDER;
|
|
110
|
+
/**
|
|
111
|
+
* packageExportsSortOrder
|
|
112
|
+
*
|
|
113
|
+
* @type {string[]}
|
|
114
|
+
*
|
|
115
|
+
* @deprecated Use PACKAGE_EXPORTS_SORT_ORDER instead
|
|
116
|
+
*
|
|
117
|
+
* @returns {string[]} Returns the package.json exports sort order
|
|
118
|
+
*/
|
|
119
|
+
const packageExportsSortOrder = PACKAGE_EXPORTS_SORT_ORDER;
|
|
120
|
+
export { packageSortOrder as a, packageExportsSortOrder as i, PACKAGE_NAME as n, PACKAGE_SORT_ORDER as r, PACKAGE_EXPORTS_SORT_ORDER as t };
|
package/dist/index.d.ts
CHANGED
|
@@ -4161,6 +4161,11 @@ interface RuleOptions {
|
|
|
4161
4161
|
* @see https://eslint-react.xyz/docs/rules/static-components
|
|
4162
4162
|
*/
|
|
4163
4163
|
'react/static-components'?: Linter.RuleEntry<[]>;
|
|
4164
|
+
/**
|
|
4165
|
+
* Verifies the list of dependencies for Hooks like 'useEffect' and similar, with support for custom Hooks and stable Hook results.
|
|
4166
|
+
* @see https://eslint-react.xyz/docs/rules/unstable-exhaustive-deps
|
|
4167
|
+
*/
|
|
4168
|
+
'react/unstable-exhaustive-deps'?: Linter.RuleEntry<ReactUnstableExhaustiveDeps>;
|
|
4164
4169
|
/**
|
|
4165
4170
|
* Validates against syntax that React Compiler does not support.
|
|
4166
4171
|
* @see https://eslint-react.xyz/docs/rules/unsupported-syntax
|
|
@@ -5071,6 +5076,11 @@ interface RuleOptions {
|
|
|
5071
5076
|
* @see https://github.com/shadcn-ui/lint/blob/main/docs/rules/require-static-classes.md
|
|
5072
5077
|
*/
|
|
5073
5078
|
'shadcn/require-static-classes'?: Linter.RuleEntry<ShadcnRequireStaticClasses>;
|
|
5079
|
+
/**
|
|
5080
|
+
* Require a bare yield after await in Solid action generators.
|
|
5081
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/action-yield-after-await.md
|
|
5082
|
+
*/
|
|
5083
|
+
'solid/action-yield-after-await'?: Linter.RuleEntry<[]>;
|
|
5074
5084
|
/**
|
|
5075
5085
|
* Disallow early returns in components. Solid components only run once, and so conditionals should be inside JSX.
|
|
5076
5086
|
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/components-return-once.md
|
|
@@ -5176,6 +5186,11 @@ interface RuleOptions {
|
|
|
5176
5186
|
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/no-store-mutation-outside-setter.md
|
|
5177
5187
|
*/
|
|
5178
5188
|
'solid/no-store-mutation-outside-setter'?: Linter.RuleEntry<[]>;
|
|
5189
|
+
/**
|
|
5190
|
+
* Disallow `let` and `var` variables that are read but never assigned, counting `ref={el}` as an assignment. Replaces ESLint's `no-unassigned-vars`.
|
|
5191
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/no-unassigned-vars.md
|
|
5192
|
+
*/
|
|
5193
|
+
'solid/no-unassigned-vars'?: Linter.RuleEntry<[]>;
|
|
5179
5194
|
/**
|
|
5180
5195
|
* Enforce using only Solid-specific namespaced attribute names (i.e. `'on:'` in `<div on:click={...} />`).
|
|
5181
5196
|
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/no-unknown-namespaces.md
|
|
@@ -5247,6 +5262,11 @@ interface RuleOptions {
|
|
|
5247
5262
|
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/valid-use-server.md
|
|
5248
5263
|
*/
|
|
5249
5264
|
'solid/valid-use-server'?: Linter.RuleEntry<SolidValidUseServer>;
|
|
5265
|
+
/**
|
|
5266
|
+
* Disallow HTML nesting the browser refuses to keep, like `<p><div /></p>`, which silently renders a different DOM than the JSX describes.
|
|
5267
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/validate-jsx-nesting.md
|
|
5268
|
+
*/
|
|
5269
|
+
'solid/validate-jsx-nesting'?: Linter.RuleEntry<[]>;
|
|
5250
5270
|
/**
|
|
5251
5271
|
* Enforce sorted `import` declarations within modules
|
|
5252
5272
|
* @see https://eslint.org/docs/latest/rules/sort-imports
|
|
@@ -5386,16 +5406,19 @@ interface RuleOptions {
|
|
|
5386
5406
|
/**
|
|
5387
5407
|
* Enforce linebreaks after opening and before closing array brackets
|
|
5388
5408
|
* @see https://eslint.style/rules/array-bracket-newline
|
|
5409
|
+
* @deprecated
|
|
5389
5410
|
*/
|
|
5390
5411
|
'style/array-bracket-newline'?: Linter.RuleEntry<StyleArrayBracketNewline>;
|
|
5391
5412
|
/**
|
|
5392
5413
|
* Enforce consistent spacing inside array brackets
|
|
5393
5414
|
* @see https://eslint.style/rules/array-bracket-spacing
|
|
5415
|
+
* @deprecated
|
|
5394
5416
|
*/
|
|
5395
5417
|
'style/array-bracket-spacing'?: Linter.RuleEntry<StyleArrayBracketSpacing>;
|
|
5396
5418
|
/**
|
|
5397
5419
|
* Enforce line breaks after each array element
|
|
5398
5420
|
* @see https://eslint.style/rules/array-element-newline
|
|
5421
|
+
* @deprecated
|
|
5399
5422
|
*/
|
|
5400
5423
|
'style/array-element-newline'?: Linter.RuleEntry<StyleArrayElementNewline>;
|
|
5401
5424
|
/**
|
|
@@ -5458,14 +5481,10 @@ interface RuleOptions {
|
|
|
5458
5481
|
* @see https://eslint.style/rules/jsx-props-style
|
|
5459
5482
|
*/
|
|
5460
5483
|
'style/exp-jsx-props-style'?: Linter.RuleEntry<StyleExpJsxPropsStyle>;
|
|
5461
|
-
/**
|
|
5462
|
-
* Enforce consistent spacing and line break styles inside brackets.
|
|
5463
|
-
* @see https://eslint.style/rules/list-style
|
|
5464
|
-
*/
|
|
5465
|
-
'style/exp-list-style'?: Linter.RuleEntry<StyleExpListStyle>;
|
|
5466
5484
|
/**
|
|
5467
5485
|
* Enforce line breaks between arguments of a function call
|
|
5468
5486
|
* @see https://eslint.style/rules/function-call-argument-newline
|
|
5487
|
+
* @deprecated
|
|
5469
5488
|
*/
|
|
5470
5489
|
'style/function-call-argument-newline'?: Linter.RuleEntry<StyleFunctionCallArgumentNewline>;
|
|
5471
5490
|
/**
|
|
@@ -5476,6 +5495,7 @@ interface RuleOptions {
|
|
|
5476
5495
|
/**
|
|
5477
5496
|
* Enforce consistent line breaks inside function parentheses
|
|
5478
5497
|
* @see https://eslint.style/rules/function-paren-newline
|
|
5498
|
+
* @deprecated
|
|
5479
5499
|
*/
|
|
5480
5500
|
'style/function-paren-newline'?: Linter.RuleEntry<StyleFunctionParenNewline>;
|
|
5481
5501
|
/**
|
|
@@ -5543,12 +5563,6 @@ interface RuleOptions {
|
|
|
5543
5563
|
* @see https://eslint.style/rules/jsx-function-call-newline
|
|
5544
5564
|
*/
|
|
5545
5565
|
'style/jsx-function-call-newline'?: Linter.RuleEntry<StyleJsxFunctionCallNewline>;
|
|
5546
|
-
/**
|
|
5547
|
-
* Enforce JSX indentation. Deprecated, use `indent` rule instead.
|
|
5548
|
-
* @see https://eslint.style/rules/jsx-indent
|
|
5549
|
-
* @deprecated
|
|
5550
|
-
*/
|
|
5551
|
-
'style/jsx-indent'?: Linter.RuleEntry<StyleJsxIndent>;
|
|
5552
5566
|
/**
|
|
5553
5567
|
* Enforce props indentation in JSX
|
|
5554
5568
|
* @see https://eslint.style/rules/jsx-indent-props
|
|
@@ -5574,12 +5588,6 @@ interface RuleOptions {
|
|
|
5574
5588
|
* @see https://eslint.style/rules/jsx-pascal-case
|
|
5575
5589
|
*/
|
|
5576
5590
|
'style/jsx-pascal-case'?: Linter.RuleEntry<StyleJsxPascalCase>;
|
|
5577
|
-
/**
|
|
5578
|
-
* Disallow multiple spaces between inline JSX props. Deprecated, use `no-multi-spaces` rule instead.
|
|
5579
|
-
* @see https://eslint.style/rules/jsx-props-no-multi-spaces
|
|
5580
|
-
* @deprecated
|
|
5581
|
-
*/
|
|
5582
|
-
'style/jsx-props-no-multi-spaces'?: Linter.RuleEntry<[]>;
|
|
5583
5591
|
/**
|
|
5584
5592
|
* Enforce the consistent use of either double or single quotes in JSX attributes
|
|
5585
5593
|
* @see https://eslint.style/rules/jsx-quotes
|
|
@@ -5591,11 +5599,15 @@ interface RuleOptions {
|
|
|
5591
5599
|
*/
|
|
5592
5600
|
'style/jsx-self-closing-comp'?: Linter.RuleEntry<StyleJsxSelfClosingComp>;
|
|
5593
5601
|
/**
|
|
5594
|
-
* Enforce
|
|
5595
|
-
* @see https://eslint.style/rules/jsx-
|
|
5596
|
-
* @deprecated
|
|
5602
|
+
* Enforce shorthand for boolean JSX attributes.
|
|
5603
|
+
* @see https://eslint.style/rules/jsx-shorthand-boolean
|
|
5597
5604
|
*/
|
|
5598
|
-
'style/jsx-
|
|
5605
|
+
'style/jsx-shorthand-boolean'?: Linter.RuleEntry<[]>;
|
|
5606
|
+
/**
|
|
5607
|
+
* Enforce shorthand fragment syntax.
|
|
5608
|
+
* @see https://eslint.style/rules/jsx-shorthand-fragment
|
|
5609
|
+
*/
|
|
5610
|
+
'style/jsx-shorthand-fragment'?: Linter.RuleEntry<[]>;
|
|
5599
5611
|
/**
|
|
5600
5612
|
* Enforce whitespace in and around the JSX opening and closing brackets
|
|
5601
5613
|
* @see https://eslint.style/rules/jsx-tag-spacing
|
|
@@ -5636,6 +5648,11 @@ interface RuleOptions {
|
|
|
5636
5648
|
* @see https://eslint.style/rules/lines-between-class-members
|
|
5637
5649
|
*/
|
|
5638
5650
|
'style/lines-between-class-members'?: Linter.RuleEntry<StyleLinesBetweenClassMembers>;
|
|
5651
|
+
/**
|
|
5652
|
+
* Enforce consistent spacing and line break styles inside brackets.
|
|
5653
|
+
* @see https://eslint.style/rules/list-style
|
|
5654
|
+
*/
|
|
5655
|
+
'style/list-style'?: Linter.RuleEntry<StyleListStyle>;
|
|
5639
5656
|
/**
|
|
5640
5657
|
* Enforce a maximum line length
|
|
5641
5658
|
* @see https://eslint.style/rules/max-len
|
|
@@ -5734,16 +5751,19 @@ interface RuleOptions {
|
|
|
5734
5751
|
/**
|
|
5735
5752
|
* Enforce consistent line breaks after opening and before closing braces
|
|
5736
5753
|
* @see https://eslint.style/rules/object-curly-newline
|
|
5754
|
+
* @deprecated
|
|
5737
5755
|
*/
|
|
5738
5756
|
'style/object-curly-newline'?: Linter.RuleEntry<StyleObjectCurlyNewline>;
|
|
5739
5757
|
/**
|
|
5740
5758
|
* Enforce consistent spacing inside braces
|
|
5741
5759
|
* @see https://eslint.style/rules/object-curly-spacing
|
|
5760
|
+
* @deprecated
|
|
5742
5761
|
*/
|
|
5743
5762
|
'style/object-curly-spacing'?: Linter.RuleEntry<StyleObjectCurlySpacing>;
|
|
5744
5763
|
/**
|
|
5745
5764
|
* Enforce placing object properties on separate lines
|
|
5746
5765
|
* @see https://eslint.style/rules/object-property-newline
|
|
5766
|
+
* @deprecated
|
|
5747
5767
|
*/
|
|
5748
5768
|
'style/object-property-newline'?: Linter.RuleEntry<StyleObjectPropertyNewline>;
|
|
5749
5769
|
/**
|
|
@@ -5850,7 +5870,7 @@ interface RuleOptions {
|
|
|
5850
5870
|
* Enforces consistent spacing inside TypeScript type generics
|
|
5851
5871
|
* @see https://eslint.style/rules/type-generic-spacing
|
|
5852
5872
|
*/
|
|
5853
|
-
'style/type-generic-spacing'?: Linter.RuleEntry<
|
|
5873
|
+
'style/type-generic-spacing'?: Linter.RuleEntry<StyleTypeGenericSpacing>;
|
|
5854
5874
|
/**
|
|
5855
5875
|
* Expect space before the type declaration in the named tuple
|
|
5856
5876
|
* @see https://eslint.style/rules/type-named-tuple-spacing
|
|
@@ -11058,6 +11078,11 @@ interface RuleOptions {
|
|
|
11058
11078
|
* @see https://ota-meshi.github.io/eslint-plugin-yml/rules/key-spacing.html
|
|
11059
11079
|
*/
|
|
11060
11080
|
'yaml/key-spacing'?: Linter.RuleEntry<YamlKeySpacing>;
|
|
11081
|
+
/**
|
|
11082
|
+
* enforce a maximum line length
|
|
11083
|
+
* @see https://ota-meshi.github.io/eslint-plugin-yml/rules/max-len.html
|
|
11084
|
+
*/
|
|
11085
|
+
'yaml/max-len'?: Linter.RuleEntry<YamlMaxLen>;
|
|
11061
11086
|
/**
|
|
11062
11087
|
* disallow boolean mapping keys
|
|
11063
11088
|
* @see https://ota-meshi.github.io/eslint-plugin-yml/rules/no-boolean-key.html
|
|
@@ -17336,6 +17361,19 @@ type ReactNoUnstableDefaultProps = [] | [{
|
|
|
17336
17361
|
type ReactRulesOfHooks = [] | [{
|
|
17337
17362
|
additionalHooks?: string;
|
|
17338
17363
|
}];
|
|
17364
|
+
// ----- react/unstable-exhaustive-deps -----
|
|
17365
|
+
type ReactUnstableExhaustiveDeps = [] | [{
|
|
17366
|
+
additionalHooks?: string;
|
|
17367
|
+
enableDangerousAutofixThisMayCauseInfiniteLoops?: boolean;
|
|
17368
|
+
experimental_autoDependenciesHooks?: string[];
|
|
17369
|
+
hooks?: {
|
|
17370
|
+
name: string;
|
|
17371
|
+
closureIndex?: number;
|
|
17372
|
+
dependenciesIndex?: number;
|
|
17373
|
+
stableResult?: (boolean | number | [number, ...(number)[]]);
|
|
17374
|
+
}[];
|
|
17375
|
+
requireExplicitEffectDeps?: boolean;
|
|
17376
|
+
}];
|
|
17339
17377
|
// ----- react/use-state -----
|
|
17340
17378
|
type ReactUseState = [] | [{
|
|
17341
17379
|
enforceAssignment?: boolean;
|
|
@@ -17911,7 +17949,7 @@ type StyleCurlyNewline = [] | [(("always" | "never") | {
|
|
|
17911
17949
|
// ----- style/dot-location -----
|
|
17912
17950
|
type StyleDotLocation = [] | [("object" | "property")];
|
|
17913
17951
|
// ----- style/eol-last -----
|
|
17914
|
-
type StyleEolLast = [] | [("always" | "never"
|
|
17952
|
+
type StyleEolLast = [] | [("always" | "never")];
|
|
17915
17953
|
// ----- style/exp-jsx-props-style -----
|
|
17916
17954
|
type StyleExpJsxPropsStyle = [] | [{
|
|
17917
17955
|
singleLine?: {
|
|
@@ -17922,51 +17960,6 @@ type StyleExpJsxPropsStyle = [] | [{
|
|
|
17922
17960
|
maxItemsPerLine?: number;
|
|
17923
17961
|
};
|
|
17924
17962
|
}];
|
|
17925
|
-
// ----- style/exp-list-style -----
|
|
17926
|
-
type StyleExpListStyle = [] | [{
|
|
17927
|
-
singleLine?: _StyleExpListStyle_SingleLineConfig;
|
|
17928
|
-
multiLine?: _StyleExpListStyle_MultiLineConfig;
|
|
17929
|
-
overrides?: {
|
|
17930
|
-
"()"?: (_StyleExpListStyle_BaseConfig | "off");
|
|
17931
|
-
"[]"?: (_StyleExpListStyle_BaseConfig | "off");
|
|
17932
|
-
"{}"?: (_StyleExpListStyle_BaseConfig | "off");
|
|
17933
|
-
"<>"?: (_StyleExpListStyle_BaseConfig | "off");
|
|
17934
|
-
ArrayExpression?: (_StyleExpListStyle_BaseConfig | "off");
|
|
17935
|
-
ArrayPattern?: (_StyleExpListStyle_BaseConfig | "off");
|
|
17936
|
-
ArrowFunctionExpression?: (_StyleExpListStyle_BaseConfig | "off");
|
|
17937
|
-
CallExpression?: (_StyleExpListStyle_BaseConfig | "off");
|
|
17938
|
-
ExportNamedDeclaration?: (_StyleExpListStyle_BaseConfig | "off");
|
|
17939
|
-
FunctionDeclaration?: (_StyleExpListStyle_BaseConfig | "off");
|
|
17940
|
-
FunctionExpression?: (_StyleExpListStyle_BaseConfig | "off");
|
|
17941
|
-
IfStatement?: (_StyleExpListStyle_BaseConfig | "off");
|
|
17942
|
-
ImportAttributes?: (_StyleExpListStyle_BaseConfig | "off");
|
|
17943
|
-
ImportDeclaration?: (_StyleExpListStyle_BaseConfig | "off");
|
|
17944
|
-
JSONArrayExpression?: (_StyleExpListStyle_BaseConfig | "off");
|
|
17945
|
-
JSONObjectExpression?: (_StyleExpListStyle_BaseConfig | "off");
|
|
17946
|
-
NewExpression?: (_StyleExpListStyle_BaseConfig | "off");
|
|
17947
|
-
ObjectExpression?: (_StyleExpListStyle_BaseConfig | "off");
|
|
17948
|
-
ObjectPattern?: (_StyleExpListStyle_BaseConfig | "off");
|
|
17949
|
-
TSDeclareFunction?: (_StyleExpListStyle_BaseConfig | "off");
|
|
17950
|
-
TSEnumBody?: (_StyleExpListStyle_BaseConfig | "off");
|
|
17951
|
-
TSFunctionType?: (_StyleExpListStyle_BaseConfig | "off");
|
|
17952
|
-
TSInterfaceBody?: (_StyleExpListStyle_BaseConfig | "off");
|
|
17953
|
-
TSTupleType?: (_StyleExpListStyle_BaseConfig | "off");
|
|
17954
|
-
TSTypeLiteral?: (_StyleExpListStyle_BaseConfig | "off");
|
|
17955
|
-
TSTypeParameterDeclaration?: (_StyleExpListStyle_BaseConfig | "off");
|
|
17956
|
-
TSTypeParameterInstantiation?: (_StyleExpListStyle_BaseConfig | "off");
|
|
17957
|
-
};
|
|
17958
|
-
}];
|
|
17959
|
-
interface _StyleExpListStyle_SingleLineConfig {
|
|
17960
|
-
spacing?: ("always" | "never");
|
|
17961
|
-
maxItems?: number;
|
|
17962
|
-
}
|
|
17963
|
-
interface _StyleExpListStyle_MultiLineConfig {
|
|
17964
|
-
minItems?: number;
|
|
17965
|
-
}
|
|
17966
|
-
interface _StyleExpListStyle_BaseConfig {
|
|
17967
|
-
singleLine?: _StyleExpListStyle_SingleLineConfig;
|
|
17968
|
-
multiline?: _StyleExpListStyle_MultiLineConfig;
|
|
17969
|
-
}
|
|
17970
17963
|
// ----- style/function-call-argument-newline -----
|
|
17971
17964
|
type StyleFunctionCallArgumentNewline = [] | [("always" | "never" | "consistent")];
|
|
17972
17965
|
// ----- style/function-call-spacing -----
|
|
@@ -18041,10 +18034,10 @@ type StyleIndent = [] | [("tab" | number)] | [("tab" | number), {
|
|
|
18041
18034
|
AwaitExpression?: boolean;
|
|
18042
18035
|
NewExpression?: boolean;
|
|
18043
18036
|
});
|
|
18044
|
-
offsetTernaryExpressionsOffsetCallExpressions?: boolean;
|
|
18045
18037
|
ignoredNodes?: string[];
|
|
18046
18038
|
ignoreComments?: boolean;
|
|
18047
18039
|
tabLength?: number;
|
|
18040
|
+
jsx?: (number | "half");
|
|
18048
18041
|
}];
|
|
18049
18042
|
// ----- style/indent-binary-ops -----
|
|
18050
18043
|
type StyleIndentBinaryOps = [] | [(number | "tab")];
|
|
@@ -18121,11 +18114,6 @@ type StyleJsxEqualsSpacing = [] | [("always" | "never")];
|
|
|
18121
18114
|
type StyleJsxFirstPropNewLine = [] | [("always" | "never" | "multiline" | "multiline-multiprop" | "multiprop")];
|
|
18122
18115
|
// ----- style/jsx-function-call-newline -----
|
|
18123
18116
|
type StyleJsxFunctionCallNewline = [] | [("always" | "multiline")];
|
|
18124
|
-
// ----- style/jsx-indent -----
|
|
18125
|
-
type StyleJsxIndent = [] | [("tab" | number)] | [("tab" | number), {
|
|
18126
|
-
checkAttributes?: boolean;
|
|
18127
|
-
indentLogicalExpressions?: boolean;
|
|
18128
|
-
}];
|
|
18129
18117
|
// ----- style/jsx-indent-props -----
|
|
18130
18118
|
type StyleJsxIndentProps = [] | [(("tab" | "first") | number | {
|
|
18131
18119
|
indentMode?: (("tab" | "first") | number);
|
|
@@ -18164,18 +18152,6 @@ type StyleJsxSelfClosingComp = [] | [{
|
|
|
18164
18152
|
component?: boolean;
|
|
18165
18153
|
html?: boolean;
|
|
18166
18154
|
}];
|
|
18167
|
-
// ----- style/jsx-sort-props -----
|
|
18168
|
-
type StyleJsxSortProps = [] | [{
|
|
18169
|
-
callbacksLast?: boolean;
|
|
18170
|
-
shorthandFirst?: boolean;
|
|
18171
|
-
shorthandLast?: boolean;
|
|
18172
|
-
multiline?: ("ignore" | "first" | "last");
|
|
18173
|
-
ignoreCase?: boolean;
|
|
18174
|
-
noSortAlphabetically?: boolean;
|
|
18175
|
-
reservedFirst?: (string[] | boolean);
|
|
18176
|
-
reservedLast?: string[];
|
|
18177
|
-
locale?: string;
|
|
18178
|
-
}];
|
|
18179
18155
|
// ----- style/jsx-tag-spacing -----
|
|
18180
18156
|
type StyleJsxTagSpacing = [] | [{
|
|
18181
18157
|
closingSlash?: ("always" | "never" | "allow");
|
|
@@ -18548,7 +18524,6 @@ type StyleKeywordSpacing = [] | [{
|
|
|
18548
18524
|
type StyleLineCommentPosition = [] | [(("above" | "beside") | {
|
|
18549
18525
|
position?: ("above" | "beside");
|
|
18550
18526
|
ignorePattern?: string;
|
|
18551
|
-
applyDefaultPatterns?: boolean;
|
|
18552
18527
|
applyDefaultIgnorePatterns?: boolean;
|
|
18553
18528
|
})];
|
|
18554
18529
|
// ----- style/linebreak-style -----
|
|
@@ -18604,6 +18579,53 @@ type StyleLinesBetweenClassMembers = [] | [({
|
|
|
18604
18579
|
exceptAfterSingleLine?: boolean;
|
|
18605
18580
|
exceptAfterOverload?: boolean;
|
|
18606
18581
|
}];
|
|
18582
|
+
// ----- style/list-style -----
|
|
18583
|
+
type StyleListStyle = [] | [{
|
|
18584
|
+
empty?: ("ignore" | "always" | "never");
|
|
18585
|
+
singleLine?: _StyleListStyle_SingleLineConfig;
|
|
18586
|
+
multiLine?: _StyleListStyle_MultiLineConfig;
|
|
18587
|
+
overrides?: {
|
|
18588
|
+
"()"?: (_StyleListStyle_BaseConfig | "off");
|
|
18589
|
+
"[]"?: (_StyleListStyle_BaseConfig | "off");
|
|
18590
|
+
"{}"?: (_StyleListStyle_BaseConfig | "off");
|
|
18591
|
+
"<>"?: (_StyleListStyle_BaseConfig | "off");
|
|
18592
|
+
ArrayExpression?: (_StyleListStyle_BaseConfig | "off");
|
|
18593
|
+
ArrayPattern?: (_StyleListStyle_BaseConfig | "off");
|
|
18594
|
+
ArrowFunctionExpression?: (_StyleListStyle_BaseConfig | "off");
|
|
18595
|
+
CallExpression?: (_StyleListStyle_BaseConfig | "off");
|
|
18596
|
+
ExportNamedDeclaration?: (_StyleListStyle_BaseConfig | "off");
|
|
18597
|
+
FunctionDeclaration?: (_StyleListStyle_BaseConfig | "off");
|
|
18598
|
+
FunctionExpression?: (_StyleListStyle_BaseConfig | "off");
|
|
18599
|
+
IfStatement?: (_StyleListStyle_BaseConfig | "off");
|
|
18600
|
+
ImportAttributes?: (_StyleListStyle_BaseConfig | "off");
|
|
18601
|
+
ImportDeclaration?: (_StyleListStyle_BaseConfig | "off");
|
|
18602
|
+
JSONArrayExpression?: (_StyleListStyle_BaseConfig | "off");
|
|
18603
|
+
JSONObjectExpression?: (_StyleListStyle_BaseConfig | "off");
|
|
18604
|
+
NewExpression?: (_StyleListStyle_BaseConfig | "off");
|
|
18605
|
+
ObjectExpression?: (_StyleListStyle_BaseConfig | "off");
|
|
18606
|
+
ObjectPattern?: (_StyleListStyle_BaseConfig | "off");
|
|
18607
|
+
TSDeclareFunction?: (_StyleListStyle_BaseConfig | "off");
|
|
18608
|
+
TSEnumBody?: (_StyleListStyle_BaseConfig | "off");
|
|
18609
|
+
TSFunctionType?: (_StyleListStyle_BaseConfig | "off");
|
|
18610
|
+
TSInterfaceBody?: (_StyleListStyle_BaseConfig | "off");
|
|
18611
|
+
TSTupleType?: (_StyleListStyle_BaseConfig | "off");
|
|
18612
|
+
TSTypeLiteral?: (_StyleListStyle_BaseConfig | "off");
|
|
18613
|
+
TSTypeParameterDeclaration?: (_StyleListStyle_BaseConfig | "off");
|
|
18614
|
+
TSTypeParameterInstantiation?: (_StyleListStyle_BaseConfig | "off");
|
|
18615
|
+
};
|
|
18616
|
+
}];
|
|
18617
|
+
interface _StyleListStyle_SingleLineConfig {
|
|
18618
|
+
spacing?: ("always" | "never");
|
|
18619
|
+
maxItems?: number;
|
|
18620
|
+
}
|
|
18621
|
+
interface _StyleListStyle_MultiLineConfig {
|
|
18622
|
+
minItems?: number;
|
|
18623
|
+
}
|
|
18624
|
+
interface _StyleListStyle_BaseConfig {
|
|
18625
|
+
empty?: ("ignore" | "always" | "never");
|
|
18626
|
+
singleLine?: _StyleListStyle_SingleLineConfig;
|
|
18627
|
+
multiLine?: _StyleListStyle_MultiLineConfig;
|
|
18628
|
+
}
|
|
18607
18629
|
// ----- style/max-len -----
|
|
18608
18630
|
type StyleMaxLen = [] | [({
|
|
18609
18631
|
code?: number;
|
|
@@ -18749,7 +18771,7 @@ type StyleNoMixedOperators = [] | [{
|
|
|
18749
18771
|
allowSamePrecedence?: boolean;
|
|
18750
18772
|
}];
|
|
18751
18773
|
// ----- style/no-mixed-spaces-and-tabs -----
|
|
18752
|
-
type StyleNoMixedSpacesAndTabs = [] | [
|
|
18774
|
+
type StyleNoMixedSpacesAndTabs = [] | ["smart-tabs"];
|
|
18753
18775
|
// ----- style/no-multi-spaces -----
|
|
18754
18776
|
type StyleNoMultiSpaces = [] | [{
|
|
18755
18777
|
exceptions?: {
|
|
@@ -18888,11 +18910,11 @@ type StyleQuoteProps = ([] | [("always" | "as-needed" | "consistent" | "consiste
|
|
|
18888
18910
|
numbers?: boolean;
|
|
18889
18911
|
}]);
|
|
18890
18912
|
// ----- style/quotes -----
|
|
18891
|
-
type StyleQuotes = [] | [("single" | "double" | "backtick")] | [("single" | "double" | "backtick"),
|
|
18913
|
+
type StyleQuotes = [] | [("single" | "double" | "backtick")] | [("single" | "double" | "backtick"), {
|
|
18892
18914
|
avoidEscape?: boolean;
|
|
18893
|
-
allowTemplateLiterals?: (
|
|
18915
|
+
allowTemplateLiterals?: ("never" | "avoidEscape" | "always");
|
|
18894
18916
|
ignoreStringLiterals?: boolean;
|
|
18895
|
-
}
|
|
18917
|
+
}];
|
|
18896
18918
|
// ----- style/rest-spread-spacing -----
|
|
18897
18919
|
type StyleRestSpreadSpacing = [] | [("always" | "never")];
|
|
18898
18920
|
// ----- style/semi -----
|
|
@@ -18930,6 +18952,7 @@ type StyleSpaceInParens = [] | [("always" | "never")] | [("always" | "never"), {
|
|
|
18930
18952
|
// ----- style/space-infix-ops -----
|
|
18931
18953
|
type StyleSpaceInfixOps = [] | [{
|
|
18932
18954
|
int32Hint?: boolean;
|
|
18955
|
+
ignoreOperators?: string[];
|
|
18933
18956
|
ignoreTypes?: boolean;
|
|
18934
18957
|
}];
|
|
18935
18958
|
// ----- style/space-unary-ops -----
|
|
@@ -18969,17 +18992,22 @@ type StyleTypeAnnotationSpacing = [] | [{
|
|
|
18969
18992
|
after?: boolean;
|
|
18970
18993
|
overrides?: {
|
|
18971
18994
|
colon?: _StyleTypeAnnotationSpacing_SpacingConfig;
|
|
18972
|
-
|
|
18973
|
-
|
|
18974
|
-
|
|
18975
|
-
|
|
18976
|
-
|
|
18995
|
+
variable?: ("ignore" | _StyleTypeAnnotationSpacing_SpacingConfig);
|
|
18996
|
+
parameter?: ("ignore" | _StyleTypeAnnotationSpacing_SpacingConfig);
|
|
18997
|
+
property?: ("ignore" | _StyleTypeAnnotationSpacing_SpacingConfig);
|
|
18998
|
+
returnType?: ("ignore" | _StyleTypeAnnotationSpacing_SpacingConfig);
|
|
18999
|
+
questionMark?: ("ignore" | _StyleTypeAnnotationSpacing_SpacingConfig);
|
|
18977
19000
|
};
|
|
18978
19001
|
}];
|
|
18979
19002
|
interface _StyleTypeAnnotationSpacing_SpacingConfig {
|
|
18980
19003
|
before?: boolean;
|
|
18981
19004
|
after?: boolean;
|
|
18982
19005
|
}
|
|
19006
|
+
// ----- style/type-generic-spacing -----
|
|
19007
|
+
type StyleTypeGenericSpacing = [] | [{
|
|
19008
|
+
before?: boolean;
|
|
19009
|
+
after?: boolean;
|
|
19010
|
+
}];
|
|
18983
19011
|
// ----- style/wrap-iife -----
|
|
18984
19012
|
type StyleWrapIife = [] | [("outside" | "inside" | "any")] | [("outside" | "inside" | "any"), {
|
|
18985
19013
|
functionPrototypeMethods?: boolean;
|
|
@@ -22299,6 +22327,7 @@ type VueSpaceInParens = [] | [("always" | "never")] | [("always" | "never"), {
|
|
|
22299
22327
|
// ----- vue/space-infix-ops -----
|
|
22300
22328
|
type VueSpaceInfixOps = [] | [{
|
|
22301
22329
|
int32Hint?: boolean;
|
|
22330
|
+
ignoreOperators?: string[];
|
|
22302
22331
|
ignoreTypes?: boolean;
|
|
22303
22332
|
}];
|
|
22304
22333
|
// ----- vue/space-unary-ops -----
|
|
@@ -22465,6 +22494,17 @@ type YamlKeySpacing = [] | [({
|
|
|
22465
22494
|
afterColon?: boolean;
|
|
22466
22495
|
};
|
|
22467
22496
|
})];
|
|
22497
|
+
// ----- yaml/max-len -----
|
|
22498
|
+
type YamlMaxLen = [] | [{
|
|
22499
|
+
code?: number;
|
|
22500
|
+
comments?: number;
|
|
22501
|
+
tabWidth?: number;
|
|
22502
|
+
ignorePattern?: string;
|
|
22503
|
+
ignoreComments?: boolean;
|
|
22504
|
+
ignoreTrailingComments?: boolean;
|
|
22505
|
+
ignoreUrls?: boolean;
|
|
22506
|
+
ignoreStrings?: boolean;
|
|
22507
|
+
}];
|
|
22468
22508
|
// ----- yaml/no-irregular-whitespace -----
|
|
22469
22509
|
type YamlNoIrregularWhitespace = [] | [{
|
|
22470
22510
|
skipComments?: boolean;
|
|
@@ -23851,32 +23891,6 @@ export declare function shadcn(options?: {
|
|
|
23851
23891
|
vue?: boolean;
|
|
23852
23892
|
} & OptionsOverrides & OptionsShadcn): Promise<TypedFlatConfigItem[]>;
|
|
23853
23893
|
export declare function solid(options?: OptionsFiles & OptionsHasTypeScript & OptionsOverrides & OptionsTypeScriptWithTypes): Promise<TypedFlatConfigItem[]>;
|
|
23854
|
-
/**
|
|
23855
|
-
* packageSortOrder
|
|
23856
|
-
*
|
|
23857
|
-
* Specifies the order in which package.json properties should appear.
|
|
23858
|
-
*
|
|
23859
|
-
* This array establishes a preferred sequence to maintain consistency and readability
|
|
23860
|
-
* when managing package.json files in JavaScript projects. It categorizes common properties
|
|
23861
|
-
* such as metadata details, scripts, dependencies, and configuration settings in a logical
|
|
23862
|
-
* and organized manner.
|
|
23863
|
-
*
|
|
23864
|
-
* Complex logic explanation:
|
|
23865
|
-
* - The list starts with high-level metadata properties such as 'publisher', 'name', 'description',
|
|
23866
|
-
* and 'version', which are typically the primary identifiers of the package.
|
|
23867
|
-
* - After the initial metadata, configuration and module-related fields like 'type', 'private',
|
|
23868
|
-
* and 'author' are listed to group related attributes together.
|
|
23869
|
-
* - Dependency-related fields are grouped towards the end, including 'dependencies', 'devDependencies',
|
|
23870
|
-
* and 'optionalDependencies'.
|
|
23871
|
-
* - Special configurations and overrides, such as 'resolutions' and 'overrides', are at the end
|
|
23872
|
-
* to keep the file manageable and to separate primary package information from auxiliary settings.
|
|
23873
|
-
*
|
|
23874
|
-
* @type {string[]}
|
|
23875
|
-
*
|
|
23876
|
-
* @returns {string[]} Returns the package.json sort order
|
|
23877
|
-
*/
|
|
23878
|
-
export declare const packageSortOrder: string[];
|
|
23879
|
-
export declare const packageExportsSortOrder: string[];
|
|
23880
23894
|
/**
|
|
23881
23895
|
* Sort package.json
|
|
23882
23896
|
*
|
|
@@ -23913,6 +23927,64 @@ export declare function unocss(options?: OptionsUnoCSS): Promise<TypedFlatConfig
|
|
|
23913
23927
|
export declare function vue(options?: OptionsFiles & OptionsHasTypeScript & OptionsOverrides & OptionsStylistic & OptionsVue): Promise<TypedFlatConfigItem[]>;
|
|
23914
23928
|
export declare function yaml(options?: OptionsFiles & OptionsOverrides & OptionsStylistic): Promise<TypedFlatConfigItem[]>;
|
|
23915
23929
|
export declare const PACKAGE_NAME: "@infernodesign/eslint-config";
|
|
23930
|
+
/**
|
|
23931
|
+
* PACKAGE_SORT_ORDER
|
|
23932
|
+
*
|
|
23933
|
+
* Specifies the order in which package.json properties should appear.
|
|
23934
|
+
*
|
|
23935
|
+
* This array establishes a preferred sequence to maintain consistency and readability
|
|
23936
|
+
* when managing package.json files in JavaScript projects. It categorizes common properties
|
|
23937
|
+
* such as metadata details, scripts, dependencies, and configuration settings in a logical
|
|
23938
|
+
* and organized manner.
|
|
23939
|
+
*
|
|
23940
|
+
* Complex logic explanation:
|
|
23941
|
+
* - The list starts with high-level metadata properties such as 'publisher', 'name', 'description',
|
|
23942
|
+
* and 'version', which are typically the primary identifiers of the package.
|
|
23943
|
+
* - After the initial metadata, configuration and module-related fields like 'type', 'private',
|
|
23944
|
+
* and 'author' are listed to group related attributes together.
|
|
23945
|
+
* - Dependency-related fields are grouped towards the end, including 'dependencies', 'devDependencies',
|
|
23946
|
+
* and 'optionalDependencies'.
|
|
23947
|
+
* - Special configurations and overrides, such as 'resolutions' and 'overrides', are at the end
|
|
23948
|
+
* to keep the file manageable and to separate primary package information from auxiliary settings.
|
|
23949
|
+
*
|
|
23950
|
+
* @type {string[]}
|
|
23951
|
+
*
|
|
23952
|
+
* @returns {string[]} Returns the package.json sort order
|
|
23953
|
+
*/
|
|
23954
|
+
export declare const PACKAGE_SORT_ORDER: string[];
|
|
23955
|
+
/**
|
|
23956
|
+
* PACKAGE_EXPORTS_SORT_ORDER
|
|
23957
|
+
*
|
|
23958
|
+
* Specifies the order in which package.json exports should appear.
|
|
23959
|
+
*
|
|
23960
|
+
* This array establishes a preferred sequence to maintain consistency and readability
|
|
23961
|
+
* when managing package.json exports in JavaScript projects.
|
|
23962
|
+
*
|
|
23963
|
+
* @type {string[]}
|
|
23964
|
+
*
|
|
23965
|
+
* @returns {string[]} Returns the package.json exports sort order
|
|
23966
|
+
*/
|
|
23967
|
+
export declare const PACKAGE_EXPORTS_SORT_ORDER: string[];
|
|
23968
|
+
/**
|
|
23969
|
+
* packageSortOrder
|
|
23970
|
+
*
|
|
23971
|
+
* @type {string[]}
|
|
23972
|
+
*
|
|
23973
|
+
* @deprecated Use PACKAGE_SORT_ORDER instead
|
|
23974
|
+
*
|
|
23975
|
+
* @returns {string[]} Returns the package.json sort order
|
|
23976
|
+
*/
|
|
23977
|
+
export declare const packageSortOrder: string[];
|
|
23978
|
+
/**
|
|
23979
|
+
* packageExportsSortOrder
|
|
23980
|
+
*
|
|
23981
|
+
* @type {string[]}
|
|
23982
|
+
*
|
|
23983
|
+
* @deprecated Use PACKAGE_EXPORTS_SORT_ORDER instead
|
|
23984
|
+
*
|
|
23985
|
+
* @returns {string[]} Returns the package.json exports sort order
|
|
23986
|
+
*/
|
|
23987
|
+
export declare const packageExportsSortOrder: string[];
|
|
23916
23988
|
export declare const GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
|
|
23917
23989
|
export declare const GLOB_SRC = "**/*.?([cm])[jt]s?(x)";
|
|
23918
23990
|
export declare const GLOB_JS = "**/*.?([cm])js";
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as packageSortOrder, i as packageExportsSortOrder, n as PACKAGE_NAME, r as PACKAGE_SORT_ORDER, t as PACKAGE_EXPORTS_SORT_ORDER } from "./constants-CZLDK59m.js";
|
|
2
2
|
import { FlatConfigComposer } from "eslint-flat-config-utils";
|
|
3
3
|
import process$1 from "node:process";
|
|
4
4
|
import fsPromises from "node:fs/promises";
|
|
@@ -545,7 +545,6 @@ async function stylistic(options = {}) {
|
|
|
545
545
|
},
|
|
546
546
|
rules: {
|
|
547
547
|
...config.rules,
|
|
548
|
-
...experimental ? {} : { "antfu/consistent-list-newline": "error" },
|
|
549
548
|
"antfu/consistent-chaining": "error",
|
|
550
549
|
...lessOpinionated ? { "curly": "off" } : { "antfu/curly": "error" },
|
|
551
550
|
"style/max-len": "off",
|
|
@@ -1248,7 +1247,6 @@ async function jsonc(options = {}) {
|
|
|
1248
1247
|
"jsonc/valid-json-number": "error",
|
|
1249
1248
|
"jsonc/vue-custom-block/no-parsing-error": "error",
|
|
1250
1249
|
...stylistic ? {
|
|
1251
|
-
"jsonc/array-bracket-spacing": ["error", "always"],
|
|
1252
1250
|
"jsonc/comma-dangle": ["error", "never"],
|
|
1253
1251
|
"jsonc/comma-style": ["error", "last"],
|
|
1254
1252
|
"jsonc/indent": ["error", typeof indent === "number" ? indent : indent === "tab" ? "tab" : 2],
|
|
@@ -1256,14 +1254,12 @@ async function jsonc(options = {}) {
|
|
|
1256
1254
|
afterColon: true,
|
|
1257
1255
|
beforeColon: false
|
|
1258
1256
|
}],
|
|
1259
|
-
"jsonc/object-curly-newline": ["error", {
|
|
1260
|
-
consistent: true,
|
|
1261
|
-
multiline: true
|
|
1262
|
-
}],
|
|
1263
|
-
"jsonc/object-curly-spacing": ["error", "always"],
|
|
1264
|
-
"jsonc/object-property-newline": ["error", { allowMultiplePropertiesPerLine: true }],
|
|
1265
1257
|
"jsonc/quote-props": "error",
|
|
1266
|
-
"jsonc/quotes": "error"
|
|
1258
|
+
"jsonc/quotes": "error",
|
|
1259
|
+
"style/list-style": ["error", { overrides: {
|
|
1260
|
+
JSONArrayExpression: { singleLine: { spacing: "always" } },
|
|
1261
|
+
JSONObjectExpression: { singleLine: { spacing: "always" } }
|
|
1262
|
+
} }]
|
|
1267
1263
|
} : {},
|
|
1268
1264
|
...overrides
|
|
1269
1265
|
}
|
|
@@ -2082,91 +2078,6 @@ async function solid(options = {}) {
|
|
|
2082
2078
|
}
|
|
2083
2079
|
// src/configs/sort.ts
|
|
2084
2080
|
/**
|
|
2085
|
-
* packageSortOrder
|
|
2086
|
-
*
|
|
2087
|
-
* Specifies the order in which package.json properties should appear.
|
|
2088
|
-
*
|
|
2089
|
-
* This array establishes a preferred sequence to maintain consistency and readability
|
|
2090
|
-
* when managing package.json files in JavaScript projects. It categorizes common properties
|
|
2091
|
-
* such as metadata details, scripts, dependencies, and configuration settings in a logical
|
|
2092
|
-
* and organized manner.
|
|
2093
|
-
*
|
|
2094
|
-
* Complex logic explanation:
|
|
2095
|
-
* - The list starts with high-level metadata properties such as 'publisher', 'name', 'description',
|
|
2096
|
-
* and 'version', which are typically the primary identifiers of the package.
|
|
2097
|
-
* - After the initial metadata, configuration and module-related fields like 'type', 'private',
|
|
2098
|
-
* and 'author' are listed to group related attributes together.
|
|
2099
|
-
* - Dependency-related fields are grouped towards the end, including 'dependencies', 'devDependencies',
|
|
2100
|
-
* and 'optionalDependencies'.
|
|
2101
|
-
* - Special configurations and overrides, such as 'resolutions' and 'overrides', are at the end
|
|
2102
|
-
* to keep the file manageable and to separate primary package information from auxiliary settings.
|
|
2103
|
-
*
|
|
2104
|
-
* @type {string[]}
|
|
2105
|
-
*
|
|
2106
|
-
* @returns {string[]} Returns the package.json sort order
|
|
2107
|
-
*/
|
|
2108
|
-
const packageSortOrder = [
|
|
2109
|
-
"publisher",
|
|
2110
|
-
"name",
|
|
2111
|
-
"displayName",
|
|
2112
|
-
"description",
|
|
2113
|
-
"version",
|
|
2114
|
-
"type",
|
|
2115
|
-
"private",
|
|
2116
|
-
"author",
|
|
2117
|
-
"contributors",
|
|
2118
|
-
"license",
|
|
2119
|
-
"funding",
|
|
2120
|
-
"homepage",
|
|
2121
|
-
"repository",
|
|
2122
|
-
"bugs",
|
|
2123
|
-
"keywords",
|
|
2124
|
-
"categories",
|
|
2125
|
-
"sideEffects",
|
|
2126
|
-
"exports",
|
|
2127
|
-
"main",
|
|
2128
|
-
"module",
|
|
2129
|
-
"unpkg",
|
|
2130
|
-
"jsdelivr",
|
|
2131
|
-
"types",
|
|
2132
|
-
"typesVersions",
|
|
2133
|
-
"bin",
|
|
2134
|
-
"icon",
|
|
2135
|
-
"files",
|
|
2136
|
-
"browserslist",
|
|
2137
|
-
"engines",
|
|
2138
|
-
"engineStrict",
|
|
2139
|
-
"packageManager",
|
|
2140
|
-
"publishConfig",
|
|
2141
|
-
"activationEvents",
|
|
2142
|
-
"contributes",
|
|
2143
|
-
"scripts",
|
|
2144
|
-
"dependencies",
|
|
2145
|
-
"devDependencies",
|
|
2146
|
-
"optionalDependencies",
|
|
2147
|
-
"peerDependencies",
|
|
2148
|
-
"peerDependenciesMeta",
|
|
2149
|
-
"pnpm",
|
|
2150
|
-
"overrides",
|
|
2151
|
-
"resolutions",
|
|
2152
|
-
"husky",
|
|
2153
|
-
"simple-git-hooks",
|
|
2154
|
-
"lint-staged",
|
|
2155
|
-
"eslintConfig",
|
|
2156
|
-
"prettier"
|
|
2157
|
-
];
|
|
2158
|
-
const packageExportsSortOrder = [
|
|
2159
|
-
"types",
|
|
2160
|
-
"node-addons",
|
|
2161
|
-
"node",
|
|
2162
|
-
"browser",
|
|
2163
|
-
"import",
|
|
2164
|
-
"require",
|
|
2165
|
-
"development",
|
|
2166
|
-
"production",
|
|
2167
|
-
"default"
|
|
2168
|
-
];
|
|
2169
|
-
/**
|
|
2170
2081
|
* Sort package.json
|
|
2171
2082
|
*
|
|
2172
2083
|
* Requires `jsonc` config
|
|
@@ -2183,7 +2094,7 @@ async function sortPackageJson() {
|
|
|
2183
2094
|
"jsonc/sort-keys": [
|
|
2184
2095
|
"error",
|
|
2185
2096
|
{
|
|
2186
|
-
order:
|
|
2097
|
+
order: PACKAGE_SORT_ORDER,
|
|
2187
2098
|
pathPattern: "^$"
|
|
2188
2099
|
},
|
|
2189
2100
|
{
|
|
@@ -2203,7 +2114,7 @@ async function sortPackageJson() {
|
|
|
2203
2114
|
pathPattern: "^workspaces\\.catalogs\\.[^.]+$"
|
|
2204
2115
|
},
|
|
2205
2116
|
{
|
|
2206
|
-
order:
|
|
2117
|
+
order: PACKAGE_EXPORTS_SORT_ORDER,
|
|
2207
2118
|
pathPattern: "^exports.*$"
|
|
2208
2119
|
},
|
|
2209
2120
|
{
|
|
@@ -3610,4 +3521,4 @@ const CONFIG_PRESET_FULL_OFF = {
|
|
|
3610
3521
|
vue: false,
|
|
3611
3522
|
yaml: false
|
|
3612
3523
|
};
|
|
3613
|
-
export { CONFIG_PRESET_FULL_OFF, CONFIG_PRESET_FULL_ON, GLOB_ALL_SRC, GLOB_ASTRO, GLOB_ASTRO_TS, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_POSTCSS, GLOB_SANITY, GLOB_SCSS, GLOB_SEARCH_EXCLUDE, GLOB_SRC, GLOB_SRC_EXT, GLOB_STORYBOOK, GLOB_STYLE, GLOB_SVELTE, GLOB_SVG, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_XML, GLOB_YAML, PACKAGE_NAME, StylisticConfigDefaults, astro, combine, command, comments, config, defaultPluginRenaming, disables, e18e, ensurePackages, formatters, getOverrides, ignores, imports, interopDefault, isInCursorAgent, isInEditorEnv, isInGitHooksOrLintStaged, isInVSCodeESLintExtension, isPackageInScope, javascript, jsdoc, jsonc, jsx, markdown, medusa, nextjs, node, normalizeRules, packageExportsSortOrder, packageSortOrder, parserPlain, perfectionist, pnpm, react, regexp, renamePluginInConfigs, renameRules, resolveSubOptions, sanity, shadcn, solid, sortPackageJson, sortTsconfig, storybook, stylistic, svelte, tailwindcss, test, toArray, toml, typescript, unicorn, unocss, vue, yaml };
|
|
3524
|
+
export { CONFIG_PRESET_FULL_OFF, CONFIG_PRESET_FULL_ON, GLOB_ALL_SRC, GLOB_ASTRO, GLOB_ASTRO_TS, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_POSTCSS, GLOB_SANITY, GLOB_SCSS, GLOB_SEARCH_EXCLUDE, GLOB_SRC, GLOB_SRC_EXT, GLOB_STORYBOOK, GLOB_STYLE, GLOB_SVELTE, GLOB_SVG, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_XML, GLOB_YAML, PACKAGE_EXPORTS_SORT_ORDER, PACKAGE_NAME, PACKAGE_SORT_ORDER, StylisticConfigDefaults, astro, combine, command, comments, config, defaultPluginRenaming, disables, e18e, ensurePackages, formatters, getOverrides, ignores, imports, interopDefault, isInCursorAgent, isInEditorEnv, isInGitHooksOrLintStaged, isInVSCodeESLintExtension, isPackageInScope, javascript, jsdoc, jsonc, jsx, markdown, medusa, nextjs, node, normalizeRules, packageExportsSortOrder, packageSortOrder, parserPlain, perfectionist, pnpm, react, regexp, renamePluginInConfigs, renameRules, resolveSubOptions, sanity, shadcn, solid, sortPackageJson, sortTsconfig, storybook, stylistic, svelte, tailwindcss, test, toArray, toml, typescript, unicorn, unocss, vue, yaml };
|
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.
|
|
4
|
+
"version": "2.19.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "Inferno Design <support@infernodesign.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -50,19 +50,19 @@
|
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
52
|
"@antfu/install-pkg": "^2.1.0",
|
|
53
|
-
"@clack/prompts": "^1.
|
|
53
|
+
"@clack/prompts": "^1.9.0",
|
|
54
54
|
"@e18e/eslint-plugin": "^0.8.1",
|
|
55
55
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.8.1",
|
|
56
56
|
"@eslint/compat": "^2.1.1",
|
|
57
|
-
"@eslint/config-array": "^0.23.
|
|
57
|
+
"@eslint/config-array": "^0.23.6",
|
|
58
58
|
"@eslint/config-helpers": "^0.7.0",
|
|
59
59
|
"@eslint/markdown": "^8.0.3",
|
|
60
|
-
"@stylistic/eslint-plugin": "^
|
|
61
|
-
"@typescript-eslint/eslint-plugin": "^8.72.
|
|
62
|
-
"@typescript-eslint/parser": "^8.72.
|
|
63
|
-
"@typescript-eslint/utils": "^8.72.
|
|
60
|
+
"@stylistic/eslint-plugin": "^6.0.1",
|
|
61
|
+
"@typescript-eslint/eslint-plugin": "^8.72.2",
|
|
62
|
+
"@typescript-eslint/parser": "^8.72.2",
|
|
63
|
+
"@typescript-eslint/utils": "^8.72.2",
|
|
64
64
|
"@vitest/eslint-plugin": "^1.6.28",
|
|
65
|
-
"ansis": "^4.
|
|
65
|
+
"ansis": "^4.5.0",
|
|
66
66
|
"cac": "^7.1.0",
|
|
67
67
|
"eslint-config-flat-gitignore": "^2.4.0",
|
|
68
68
|
"eslint-flat-config-utils": "^3.2.0",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"eslint-plugin-antfu": "^3.3.1",
|
|
71
71
|
"eslint-plugin-command": "^4.0.0",
|
|
72
72
|
"eslint-plugin-import-lite": "^0.6.0",
|
|
73
|
-
"eslint-plugin-jsdoc": "^65.4.
|
|
73
|
+
"eslint-plugin-jsdoc": "^65.4.7",
|
|
74
74
|
"eslint-plugin-jsonc": "^3.4.2",
|
|
75
75
|
"eslint-plugin-n": "^18.5.0",
|
|
76
76
|
"eslint-plugin-no-only-tests": "^3.4.0",
|
|
@@ -80,41 +80,41 @@
|
|
|
80
80
|
"eslint-plugin-toml": "^1.5.0",
|
|
81
81
|
"eslint-plugin-unicorn": "^79.0.0",
|
|
82
82
|
"eslint-plugin-unused-imports": "^4.4.1",
|
|
83
|
-
"eslint-plugin-vue": "^10.12.
|
|
84
|
-
"eslint-plugin-yml": "^3.
|
|
83
|
+
"eslint-plugin-vue": "^10.12.1",
|
|
84
|
+
"eslint-plugin-yml": "^3.10.0",
|
|
85
85
|
"eslint-processor-vue-blocks": "^2.0.0",
|
|
86
86
|
"globals": "^17.14.0",
|
|
87
87
|
"jsonc-eslint-parser": "^3.3.0",
|
|
88
|
-
"local-pkg": "^
|
|
88
|
+
"local-pkg": "^2.0.0",
|
|
89
89
|
"parse-gitignore": "^2.0.0",
|
|
90
90
|
"toml-eslint-parser": "^1.0.3",
|
|
91
|
-
"vue-eslint-parser": "^10.4.
|
|
91
|
+
"vue-eslint-parser": "^10.4.2",
|
|
92
92
|
"yaml-eslint-parser": "^2.1.0"
|
|
93
93
|
},
|
|
94
94
|
"devDependencies": {
|
|
95
|
-
"@eslint-react/eslint-plugin": "^5.
|
|
95
|
+
"@eslint-react/eslint-plugin": "^5.30.2",
|
|
96
96
|
"@eslint/config-inspector": "^3.5.0",
|
|
97
97
|
"@infernodesign/typescript-config": "workspace:*",
|
|
98
|
-
"@medusajs/eslint-plugin": "^2.22.
|
|
99
|
-
"@next/eslint-plugin-next": "^16.4.
|
|
98
|
+
"@medusajs/eslint-plugin": "^2.22.7",
|
|
99
|
+
"@next/eslint-plugin-next": "^16.4.6",
|
|
100
100
|
"@prettier/plugin-xml": "^3.4.2",
|
|
101
|
-
"@sanity-labs/eslint-plugin": "^1.0.
|
|
102
|
-
"@shadcn/lint": "^0.2.
|
|
101
|
+
"@sanity-labs/eslint-plugin": "^1.0.8",
|
|
102
|
+
"@shadcn/lint": "^0.2.5",
|
|
103
103
|
"@types/bun": "^1.4.4",
|
|
104
104
|
"@types/eslint-plugin-jsx-a11y": "^6.10.1",
|
|
105
105
|
"@types/node": "^26.6.6",
|
|
106
|
-
"@unocss/eslint-plugin": "^66.
|
|
106
|
+
"@unocss/eslint-plugin": "^66.13.0",
|
|
107
107
|
"astro-eslint-parser": "^3.2.0",
|
|
108
|
-
"eslint": "^10.
|
|
108
|
+
"eslint": "^10.15.0",
|
|
109
109
|
"eslint-plugin-astro": "^3.2.1",
|
|
110
|
-
"eslint-plugin-better-tailwindcss": "^4.
|
|
110
|
+
"eslint-plugin-better-tailwindcss": "^4.11.0",
|
|
111
111
|
"eslint-plugin-erasable-syntax-only": "^0.7.2",
|
|
112
112
|
"eslint-plugin-format": "^2.0.1",
|
|
113
113
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
114
114
|
"eslint-plugin-react-refresh": "^0.5.7",
|
|
115
|
-
"eslint-plugin-solid": "^0.
|
|
116
|
-
"eslint-plugin-storybook": "^10.6.
|
|
117
|
-
"eslint-plugin-svelte": "^3.
|
|
115
|
+
"eslint-plugin-solid": "^0.19.0",
|
|
116
|
+
"eslint-plugin-storybook": "^10.6.7",
|
|
117
|
+
"eslint-plugin-svelte": "^3.24.1",
|
|
118
118
|
"eslint-plugin-vuejs-accessibility": "^2.6.3",
|
|
119
119
|
"eslint-typegen": "^2.3.2",
|
|
120
120
|
"execa": "^10.2.1",
|
|
@@ -124,36 +124,36 @@
|
|
|
124
124
|
"prettier-plugin-astro": "^1.1.2",
|
|
125
125
|
"prettier-plugin-slidev": "^1.0.5",
|
|
126
126
|
"svelte": "^5.57.3",
|
|
127
|
-
"svelte-eslint-parser": "^1.10.
|
|
127
|
+
"svelte-eslint-parser": "^1.10.1",
|
|
128
128
|
"tinyglobby": "^0.2.17",
|
|
129
|
-
"tsdown": "^0.23.
|
|
129
|
+
"tsdown": "^0.23.7",
|
|
130
130
|
"typescript": "^6.0.3",
|
|
131
|
-
"vitest": "^5.0
|
|
132
|
-
"vue": "^3.5.
|
|
131
|
+
"vitest": "^5.1.0",
|
|
132
|
+
"vue": "^3.5.45"
|
|
133
133
|
},
|
|
134
134
|
"peerDependencies": {
|
|
135
|
-
"@eslint-react/eslint-plugin": "^5.
|
|
136
|
-
"@medusajs/eslint-plugin": "^2.22.
|
|
137
|
-
"@next/eslint-plugin-next": "^16.4.
|
|
135
|
+
"@eslint-react/eslint-plugin": "^5.30.2",
|
|
136
|
+
"@medusajs/eslint-plugin": "^2.22.7",
|
|
137
|
+
"@next/eslint-plugin-next": "^16.4.6",
|
|
138
138
|
"@prettier/plugin-xml": "^3.4.2",
|
|
139
|
-
"@sanity-labs/eslint-plugin": "^1.0.
|
|
140
|
-
"@shadcn/lint": "^0.2.
|
|
141
|
-
"@unocss/eslint-plugin": "^66.
|
|
139
|
+
"@sanity-labs/eslint-plugin": "^1.0.8",
|
|
140
|
+
"@shadcn/lint": "^0.2.5",
|
|
141
|
+
"@unocss/eslint-plugin": "^66.13.0",
|
|
142
142
|
"astro-eslint-parser": "^3.2.0",
|
|
143
|
-
"eslint": "^10.
|
|
143
|
+
"eslint": "^10.15.0",
|
|
144
144
|
"eslint-plugin-astro": "^3.2.1",
|
|
145
|
-
"eslint-plugin-better-tailwindcss": "^4.
|
|
145
|
+
"eslint-plugin-better-tailwindcss": "^4.11.0",
|
|
146
146
|
"eslint-plugin-erasable-syntax-only": "^0.7.2",
|
|
147
147
|
"eslint-plugin-format": "^2.0.1",
|
|
148
148
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
149
149
|
"eslint-plugin-react-refresh": "^0.5.7",
|
|
150
|
-
"eslint-plugin-solid": "^0.
|
|
151
|
-
"eslint-plugin-storybook": "^10.6.
|
|
152
|
-
"eslint-plugin-svelte": "^3.
|
|
150
|
+
"eslint-plugin-solid": "^0.19.0",
|
|
151
|
+
"eslint-plugin-storybook": "^10.6.7",
|
|
152
|
+
"eslint-plugin-svelte": "^3.24.1",
|
|
153
153
|
"eslint-plugin-vuejs-accessibility": "^2.6.3",
|
|
154
154
|
"prettier-plugin-astro": "^1.1.2",
|
|
155
155
|
"prettier-plugin-slidev": "^1.0.5",
|
|
156
|
-
"svelte-eslint-parser": "^1.10.
|
|
156
|
+
"svelte-eslint-parser": "^1.10.1"
|
|
157
157
|
},
|
|
158
158
|
"peerDependenciesMeta": {
|
|
159
159
|
"@eslint-react/eslint-plugin": {
|