@infernodesign/eslint-config 2.16.0 → 2.17.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 +5 -5
- package/dist/index.d.ts +19 -2
- package/package.json +20 -19
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
|
// package.json
|
|
11
|
-
var version = "2.
|
|
11
|
+
var version = "2.17.0";
|
|
12
12
|
// src/cli/constants.ts
|
|
13
13
|
const vscodeSettingsString = `
|
|
14
14
|
// Disable the default formatter, use eslint instead
|
|
@@ -199,19 +199,19 @@ async function updateEslintFiles(result) {
|
|
|
199
199
|
// src/cli/constants-generated.ts
|
|
200
200
|
const versionsMap = {
|
|
201
201
|
"@eslint-react/eslint-plugin": "^5.28.8",
|
|
202
|
-
"@medusajs/eslint-plugin": "^2.22.
|
|
202
|
+
"@medusajs/eslint-plugin": "^2.22.2",
|
|
203
203
|
"@next/eslint-plugin-next": "^16.4.3",
|
|
204
204
|
"@sanity-labs/eslint-plugin": "^1.0.7",
|
|
205
205
|
"@shadcn/lint": "^0.2.3",
|
|
206
|
-
"@unocss/eslint-plugin": "^66.
|
|
206
|
+
"@unocss/eslint-plugin": "^66.12.0",
|
|
207
207
|
"astro-eslint-parser": "^3.2.0",
|
|
208
|
-
"eslint": "^10.
|
|
208
|
+
"eslint": "^10.14.0",
|
|
209
209
|
"eslint-plugin-astro": "^3.2.1",
|
|
210
210
|
"eslint-plugin-better-tailwindcss": "^4.10.0",
|
|
211
211
|
"eslint-plugin-format": "^2.0.1",
|
|
212
212
|
"eslint-plugin-react-refresh": "^0.5.7",
|
|
213
213
|
"eslint-plugin-solid": "^0.18.1",
|
|
214
|
-
"eslint-plugin-storybook": "^10.6.
|
|
214
|
+
"eslint-plugin-storybook": "^10.6.5",
|
|
215
215
|
"eslint-plugin-svelte": "^3.23.1",
|
|
216
216
|
"prettier-plugin-astro": "^1.1.2",
|
|
217
217
|
"prettier-plugin-slidev": "^1.0.5",
|
package/dist/index.d.ts
CHANGED
|
@@ -10022,11 +10022,21 @@ interface RuleOptions {
|
|
|
10022
10022
|
* @see https://eslint.vuejs.org/rules/no-constant-condition.html
|
|
10023
10023
|
*/
|
|
10024
10024
|
'vue/no-constant-condition'?: Linter.RuleEntry<VueNoConstantCondition>;
|
|
10025
|
+
/**
|
|
10026
|
+
* disallow content outside of the top-level blocks
|
|
10027
|
+
* @see https://eslint.vuejs.org/rules/no-content-outside-block.html
|
|
10028
|
+
*/
|
|
10029
|
+
'vue/no-content-outside-block'?: Linter.RuleEntry<[]>;
|
|
10025
10030
|
/**
|
|
10026
10031
|
* disallow custom modifiers on v-model used on the component
|
|
10027
10032
|
* @see https://eslint.vuejs.org/rules/no-custom-modifiers-on-v-model.html
|
|
10028
10033
|
*/
|
|
10029
10034
|
'vue/no-custom-modifiers-on-v-model'?: Linter.RuleEntry<[]>;
|
|
10035
|
+
/**
|
|
10036
|
+
* disallow default values in `defineModel`
|
|
10037
|
+
* @see https://eslint.vuejs.org/rules/no-define-model-default.html
|
|
10038
|
+
*/
|
|
10039
|
+
'vue/no-define-model-default'?: Linter.RuleEntry<[]>;
|
|
10030
10040
|
/**
|
|
10031
10041
|
* disallow using deprecated object declaration on data (in Vue.js 3.0.0+)
|
|
10032
10042
|
* @see https://eslint.vuejs.org/rules/no-deprecated-data-object-declaration.html
|
|
@@ -10262,6 +10272,11 @@ interface RuleOptions {
|
|
|
10262
10272
|
* @see https://eslint.vuejs.org/rules/no-potential-component-option-typo.html
|
|
10263
10273
|
*/
|
|
10264
10274
|
'vue/no-potential-component-option-typo'?: Linter.RuleEntry<VueNoPotentialComponentOptionTypo>;
|
|
10275
|
+
/**
|
|
10276
|
+
* disallow declarations that shadow props in `<script setup>`
|
|
10277
|
+
* @see https://eslint.vuejs.org/rules/no-props-shadow.html
|
|
10278
|
+
*/
|
|
10279
|
+
'vue/no-props-shadow'?: Linter.RuleEntry<[]>;
|
|
10265
10280
|
/**
|
|
10266
10281
|
* disallow use of value wrapped by `ref()` (Composition API) as an operand
|
|
10267
10282
|
* @see https://eslint.vuejs.org/rules/no-ref-as-operand.html
|
|
@@ -20637,7 +20652,7 @@ type UnicornNameReplacements = [] | [{
|
|
|
20637
20652
|
extendDefaultReplacements?: boolean;
|
|
20638
20653
|
replacements?: _UnicornNameReplacements_NameReplacements;
|
|
20639
20654
|
extendDefaultAllowList?: boolean;
|
|
20640
|
-
allowList?:
|
|
20655
|
+
allowList?: _UnicornNameReplacements_BooleanObject1;
|
|
20641
20656
|
ignore?: (string | {
|
|
20642
20657
|
[k: string]: unknown | undefined;
|
|
20643
20658
|
})[];
|
|
@@ -20649,7 +20664,7 @@ interface _UnicornNameReplacements_NameReplacements {
|
|
|
20649
20664
|
interface _UnicornNameReplacements_BooleanObject {
|
|
20650
20665
|
[k: string]: boolean | undefined;
|
|
20651
20666
|
}
|
|
20652
|
-
interface
|
|
20667
|
+
interface _UnicornNameReplacements_BooleanObject1 {
|
|
20653
20668
|
[k: string]: boolean | undefined;
|
|
20654
20669
|
}
|
|
20655
20670
|
// ----- unicorn/no-array-callback-reference -----
|
|
@@ -21110,6 +21125,7 @@ type VueBlockLang = [] | [{
|
|
|
21110
21125
|
[k: string]: {
|
|
21111
21126
|
lang?: (string | string[]);
|
|
21112
21127
|
allowNoLang?: boolean;
|
|
21128
|
+
required?: boolean;
|
|
21113
21129
|
};
|
|
21114
21130
|
}];
|
|
21115
21131
|
// ----- vue/block-order -----
|
|
@@ -22222,6 +22238,7 @@ type VueRequireDirectExport = [] | [{
|
|
|
22222
22238
|
// ----- vue/require-explicit-emits -----
|
|
22223
22239
|
type VueRequireExplicitEmits = [] | [{
|
|
22224
22240
|
allowProps?: boolean;
|
|
22241
|
+
ignoreMixins?: boolean;
|
|
22225
22242
|
}];
|
|
22226
22243
|
// ----- vue/require-macro-variable-name -----
|
|
22227
22244
|
type VueRequireMacroVariableName = [] | [{
|
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.17.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "Inferno Design <support@infernodesign.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -40,6 +40,7 @@
|
|
|
40
40
|
"scripts": {
|
|
41
41
|
"build": "bun run gen && tsdown --clean --dts",
|
|
42
42
|
"build:inspect": "bun run build && bunx @eslint/config-inspector build",
|
|
43
|
+
"bumpp": "bun ../../scripts/bumpp.ts",
|
|
43
44
|
"dev": "tsdown --watch",
|
|
44
45
|
"gen": "bun run scripts/typegen.ts && bun run scripts/versiongen.ts",
|
|
45
46
|
"lint": "eslint --quiet",
|
|
@@ -57,9 +58,9 @@
|
|
|
57
58
|
"@eslint/config-helpers": "^0.7.0",
|
|
58
59
|
"@eslint/markdown": "^8.0.3",
|
|
59
60
|
"@stylistic/eslint-plugin": "^5.10.0",
|
|
60
|
-
"@typescript-eslint/eslint-plugin": "^8.72.
|
|
61
|
-
"@typescript-eslint/parser": "^8.72.
|
|
62
|
-
"@typescript-eslint/utils": "^8.72.
|
|
61
|
+
"@typescript-eslint/eslint-plugin": "^8.72.1",
|
|
62
|
+
"@typescript-eslint/parser": "^8.72.1",
|
|
63
|
+
"@typescript-eslint/utils": "^8.72.1",
|
|
63
64
|
"@vitest/eslint-plugin": "^1.6.28",
|
|
64
65
|
"ansis": "^4.4.0",
|
|
65
66
|
"cac": "^7.1.0",
|
|
@@ -75,14 +76,14 @@
|
|
|
75
76
|
"eslint-plugin-no-only-tests": "^3.4.0",
|
|
76
77
|
"eslint-plugin-perfectionist": "^5.13.0",
|
|
77
78
|
"eslint-plugin-pnpm": "^1.9.1",
|
|
78
|
-
"eslint-plugin-regexp": "^3.3.
|
|
79
|
+
"eslint-plugin-regexp": "^3.3.3",
|
|
79
80
|
"eslint-plugin-toml": "^1.5.0",
|
|
80
81
|
"eslint-plugin-unicorn": "^79.0.0",
|
|
81
82
|
"eslint-plugin-unused-imports": "^4.4.1",
|
|
82
|
-
"eslint-plugin-vue": "^10.
|
|
83
|
+
"eslint-plugin-vue": "^10.12.0",
|
|
83
84
|
"eslint-plugin-yml": "^3.9.0",
|
|
84
85
|
"eslint-processor-vue-blocks": "^2.0.0",
|
|
85
|
-
"globals": "^17.
|
|
86
|
+
"globals": "^17.14.0",
|
|
86
87
|
"jsonc-eslint-parser": "^3.3.0",
|
|
87
88
|
"local-pkg": "^1.2.1",
|
|
88
89
|
"parse-gitignore": "^2.0.0",
|
|
@@ -94,17 +95,17 @@
|
|
|
94
95
|
"@eslint-react/eslint-plugin": "^5.28.8",
|
|
95
96
|
"@eslint/config-inspector": "^3.5.0",
|
|
96
97
|
"@infernodesign/typescript-config": "workspace:*",
|
|
97
|
-
"@medusajs/eslint-plugin": "^2.22.
|
|
98
|
+
"@medusajs/eslint-plugin": "^2.22.2",
|
|
98
99
|
"@next/eslint-plugin-next": "^16.4.3",
|
|
99
100
|
"@prettier/plugin-xml": "^3.4.2",
|
|
100
101
|
"@sanity-labs/eslint-plugin": "^1.0.7",
|
|
101
102
|
"@shadcn/lint": "^0.2.3",
|
|
102
103
|
"@types/bun": "^1.4.4",
|
|
103
104
|
"@types/eslint-plugin-jsx-a11y": "^6.10.1",
|
|
104
|
-
"@types/node": "^26.6.
|
|
105
|
-
"@unocss/eslint-plugin": "^66.
|
|
105
|
+
"@types/node": "^26.6.6",
|
|
106
|
+
"@unocss/eslint-plugin": "^66.12.0",
|
|
106
107
|
"astro-eslint-parser": "^3.2.0",
|
|
107
|
-
"eslint": "^10.
|
|
108
|
+
"eslint": "^10.14.0",
|
|
108
109
|
"eslint-plugin-astro": "^3.2.1",
|
|
109
110
|
"eslint-plugin-better-tailwindcss": "^4.10.0",
|
|
110
111
|
"eslint-plugin-erasable-syntax-only": "^0.7.2",
|
|
@@ -112,34 +113,34 @@
|
|
|
112
113
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
113
114
|
"eslint-plugin-react-refresh": "^0.5.7",
|
|
114
115
|
"eslint-plugin-solid": "^0.18.1",
|
|
115
|
-
"eslint-plugin-storybook": "^10.6.
|
|
116
|
+
"eslint-plugin-storybook": "^10.6.5",
|
|
116
117
|
"eslint-plugin-svelte": "^3.23.1",
|
|
117
118
|
"eslint-plugin-vuejs-accessibility": "^2.6.3",
|
|
118
|
-
"eslint-typegen": "^2.3.
|
|
119
|
+
"eslint-typegen": "^2.3.2",
|
|
119
120
|
"execa": "^10.2.1",
|
|
120
121
|
"find-up-simple": "^1.0.1",
|
|
121
122
|
"jiti": "^2.7.0",
|
|
122
123
|
"pnpm-workspace-yaml": "^1.9.1",
|
|
123
124
|
"prettier-plugin-astro": "^1.1.2",
|
|
124
125
|
"prettier-plugin-slidev": "^1.0.5",
|
|
125
|
-
"svelte": "^5.57.
|
|
126
|
+
"svelte": "^5.57.3",
|
|
126
127
|
"svelte-eslint-parser": "^1.10.0",
|
|
127
128
|
"tinyglobby": "^0.2.17",
|
|
128
|
-
"tsdown": "^0.23.
|
|
129
|
+
"tsdown": "^0.23.4",
|
|
129
130
|
"typescript": "^6.0.3",
|
|
130
131
|
"vitest": "^5.0.5",
|
|
131
132
|
"vue": "^3.5.44"
|
|
132
133
|
},
|
|
133
134
|
"peerDependencies": {
|
|
134
135
|
"@eslint-react/eslint-plugin": "^5.28.8",
|
|
135
|
-
"@medusajs/eslint-plugin": "^2.22.
|
|
136
|
+
"@medusajs/eslint-plugin": "^2.22.2",
|
|
136
137
|
"@next/eslint-plugin-next": "^16.4.3",
|
|
137
138
|
"@prettier/plugin-xml": "^3.4.2",
|
|
138
139
|
"@sanity-labs/eslint-plugin": "^1.0.7",
|
|
139
140
|
"@shadcn/lint": "^0.2.3",
|
|
140
|
-
"@unocss/eslint-plugin": "^66.
|
|
141
|
+
"@unocss/eslint-plugin": "^66.12.0",
|
|
141
142
|
"astro-eslint-parser": "^3.2.0",
|
|
142
|
-
"eslint": "^10.
|
|
143
|
+
"eslint": "^10.14.0",
|
|
143
144
|
"eslint-plugin-astro": "^3.2.1",
|
|
144
145
|
"eslint-plugin-better-tailwindcss": "^4.10.0",
|
|
145
146
|
"eslint-plugin-erasable-syntax-only": "^0.7.2",
|
|
@@ -147,7 +148,7 @@
|
|
|
147
148
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
148
149
|
"eslint-plugin-react-refresh": "^0.5.7",
|
|
149
150
|
"eslint-plugin-solid": "^0.18.1",
|
|
150
|
-
"eslint-plugin-storybook": "^10.6.
|
|
151
|
+
"eslint-plugin-storybook": "^10.6.5",
|
|
151
152
|
"eslint-plugin-svelte": "^3.23.1",
|
|
152
153
|
"eslint-plugin-vuejs-accessibility": "^2.6.3",
|
|
153
154
|
"prettier-plugin-astro": "^1.1.2",
|