@vinicunca/eslint-config 2.11.0 → 2.11.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/index.cjs +1 -1
- package/dist/index.d.cts +10 -2
- package/dist/index.d.ts +10 -2
- package/package.json +5 -5
package/dist/index.cjs
CHANGED
|
@@ -112,7 +112,7 @@ __export(src_exports, {
|
|
|
112
112
|
});
|
|
113
113
|
module.exports = __toCommonJS(src_exports);
|
|
114
114
|
|
|
115
|
-
// ../node_modules/.pnpm/tsup@8.2.4_jiti@1.21.6_postcss@8.4.
|
|
115
|
+
// ../node_modules/.pnpm/tsup@8.2.4_jiti@1.21.6_postcss@8.4.45_tsx@4.19.0_typescript@5.6.2_yaml@2.5.0/node_modules/tsup/assets/cjs_shims.js
|
|
116
116
|
var getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
|
|
117
117
|
var importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
|
|
118
118
|
|
package/dist/index.d.cts
CHANGED
|
@@ -7931,7 +7931,7 @@ type AccessorPairs = []|[{
|
|
|
7931
7931
|
// ----- antfu/consistent-chaining -----
|
|
7932
7932
|
type AntfuConsistentChaining = []|[{
|
|
7933
7933
|
|
|
7934
|
-
|
|
7934
|
+
allowLeadingPropertyAccess?: boolean
|
|
7935
7935
|
}]
|
|
7936
7936
|
// ----- antfu/consistent-list-newline -----
|
|
7937
7937
|
type AntfuConsistentListNewline = []|[{
|
|
@@ -11308,6 +11308,7 @@ type StyleIndent = []|[("tab" | number)]|[("tab" | number), {
|
|
|
11308
11308
|
offsetTernaryExpressions?: boolean
|
|
11309
11309
|
ignoredNodes?: string[]
|
|
11310
11310
|
ignoreComments?: boolean
|
|
11311
|
+
tabLength?: number
|
|
11311
11312
|
}]
|
|
11312
11313
|
// ----- style/indent-binary-ops -----
|
|
11313
11314
|
type StyleIndentBinaryOps = []|[(number | "tab")]
|
|
@@ -11682,6 +11683,10 @@ type StyleKeywordSpacing = []|[{
|
|
|
11682
11683
|
before?: boolean
|
|
11683
11684
|
after?: boolean
|
|
11684
11685
|
}
|
|
11686
|
+
satisfies?: {
|
|
11687
|
+
before?: boolean
|
|
11688
|
+
after?: boolean
|
|
11689
|
+
}
|
|
11685
11690
|
set?: {
|
|
11686
11691
|
before?: boolean
|
|
11687
11692
|
after?: boolean
|
|
@@ -12162,7 +12167,6 @@ type StyleTypeAnnotationSpacing = []|[{
|
|
|
12162
12167
|
parameter?: _StyleTypeAnnotationSpacing_SpacingConfig
|
|
12163
12168
|
property?: _StyleTypeAnnotationSpacing_SpacingConfig
|
|
12164
12169
|
returnType?: _StyleTypeAnnotationSpacing_SpacingConfig
|
|
12165
|
-
operator?: _StyleTypeAnnotationSpacing_SpacingConfig
|
|
12166
12170
|
}
|
|
12167
12171
|
}]
|
|
12168
12172
|
interface _StyleTypeAnnotationSpacing_SpacingConfig {
|
|
@@ -14371,6 +14375,10 @@ type VueKeywordSpacing = []|[{
|
|
|
14371
14375
|
before?: boolean
|
|
14372
14376
|
after?: boolean
|
|
14373
14377
|
}
|
|
14378
|
+
satisfies?: {
|
|
14379
|
+
before?: boolean
|
|
14380
|
+
after?: boolean
|
|
14381
|
+
}
|
|
14374
14382
|
set?: {
|
|
14375
14383
|
before?: boolean
|
|
14376
14384
|
after?: boolean
|
package/dist/index.d.ts
CHANGED
|
@@ -7931,7 +7931,7 @@ type AccessorPairs = []|[{
|
|
|
7931
7931
|
// ----- antfu/consistent-chaining -----
|
|
7932
7932
|
type AntfuConsistentChaining = []|[{
|
|
7933
7933
|
|
|
7934
|
-
|
|
7934
|
+
allowLeadingPropertyAccess?: boolean
|
|
7935
7935
|
}]
|
|
7936
7936
|
// ----- antfu/consistent-list-newline -----
|
|
7937
7937
|
type AntfuConsistentListNewline = []|[{
|
|
@@ -11308,6 +11308,7 @@ type StyleIndent = []|[("tab" | number)]|[("tab" | number), {
|
|
|
11308
11308
|
offsetTernaryExpressions?: boolean
|
|
11309
11309
|
ignoredNodes?: string[]
|
|
11310
11310
|
ignoreComments?: boolean
|
|
11311
|
+
tabLength?: number
|
|
11311
11312
|
}]
|
|
11312
11313
|
// ----- style/indent-binary-ops -----
|
|
11313
11314
|
type StyleIndentBinaryOps = []|[(number | "tab")]
|
|
@@ -11682,6 +11683,10 @@ type StyleKeywordSpacing = []|[{
|
|
|
11682
11683
|
before?: boolean
|
|
11683
11684
|
after?: boolean
|
|
11684
11685
|
}
|
|
11686
|
+
satisfies?: {
|
|
11687
|
+
before?: boolean
|
|
11688
|
+
after?: boolean
|
|
11689
|
+
}
|
|
11685
11690
|
set?: {
|
|
11686
11691
|
before?: boolean
|
|
11687
11692
|
after?: boolean
|
|
@@ -12162,7 +12167,6 @@ type StyleTypeAnnotationSpacing = []|[{
|
|
|
12162
12167
|
parameter?: _StyleTypeAnnotationSpacing_SpacingConfig
|
|
12163
12168
|
property?: _StyleTypeAnnotationSpacing_SpacingConfig
|
|
12164
12169
|
returnType?: _StyleTypeAnnotationSpacing_SpacingConfig
|
|
12165
|
-
operator?: _StyleTypeAnnotationSpacing_SpacingConfig
|
|
12166
12170
|
}
|
|
12167
12171
|
}]
|
|
12168
12172
|
interface _StyleTypeAnnotationSpacing_SpacingConfig {
|
|
@@ -14371,6 +14375,10 @@ type VueKeywordSpacing = []|[{
|
|
|
14371
14375
|
before?: boolean
|
|
14372
14376
|
after?: boolean
|
|
14373
14377
|
}
|
|
14378
|
+
satisfies?: {
|
|
14379
|
+
before?: boolean
|
|
14380
|
+
after?: boolean
|
|
14381
|
+
}
|
|
14374
14382
|
set?: {
|
|
14375
14383
|
before?: boolean
|
|
14376
14384
|
after?: boolean
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vinicunca/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.11.
|
|
4
|
+
"version": "2.11.1",
|
|
5
5
|
"description": "Vinicunca ESLint config",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "praburangki",
|
|
@@ -107,15 +107,15 @@
|
|
|
107
107
|
"@antfu/install-pkg": "^0.4.1",
|
|
108
108
|
"@clack/prompts": "^0.7.0",
|
|
109
109
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.0",
|
|
110
|
-
"@stylistic/eslint-plugin": "^2.
|
|
111
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
112
|
-
"@typescript-eslint/parser": "^8.
|
|
110
|
+
"@stylistic/eslint-plugin": "^2.8.0",
|
|
111
|
+
"@typescript-eslint/eslint-plugin": "^8.5.0",
|
|
112
|
+
"@typescript-eslint/parser": "^8.5.0",
|
|
113
113
|
"@unocss/eslint-plugin": "^0.62.3",
|
|
114
114
|
"@vitest/eslint-plugin": "^1.1.0",
|
|
115
115
|
"eslint-config-flat-gitignore": "^0.3.0",
|
|
116
116
|
"eslint-flat-config-utils": "^0.4.0",
|
|
117
117
|
"eslint-merge-processors": "^0.1.0",
|
|
118
|
-
"eslint-plugin-antfu": "^2.
|
|
118
|
+
"eslint-plugin-antfu": "^2.6.0",
|
|
119
119
|
"eslint-plugin-command": "^0.2.4",
|
|
120
120
|
"eslint-plugin-format": "^0.1.2",
|
|
121
121
|
"eslint-plugin-import-x": "^4.2.1",
|