@vinicunca/eslint-config 2.7.2 → 2.7.4
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 +2 -14
- package/dist/index.d.cts +12 -5
- package/dist/index.d.ts +12 -5
- package/dist/index.js +2 -14
- package/package.json +8 -8
package/dist/index.cjs
CHANGED
|
@@ -1099,23 +1099,11 @@ async function perfectionist() {
|
|
|
1099
1099
|
"perfectionist/sort-imports": [
|
|
1100
1100
|
ERROR,
|
|
1101
1101
|
{
|
|
1102
|
-
|
|
1103
|
-
"type",
|
|
1104
|
-
["builtin", "external"],
|
|
1105
|
-
"internal-type",
|
|
1106
|
-
"internal",
|
|
1107
|
-
["parent-type", "sibling-type", "index-type"],
|
|
1108
|
-
["parent", "sibling", "index"],
|
|
1109
|
-
"object",
|
|
1110
|
-
"unknown"
|
|
1111
|
-
],
|
|
1112
|
-
"internal-pattern": [
|
|
1102
|
+
internalPattern: [
|
|
1113
1103
|
"~/**",
|
|
1114
1104
|
"~~/**"
|
|
1115
1105
|
],
|
|
1116
|
-
|
|
1117
|
-
"order": "asc",
|
|
1118
|
-
"type": "natural"
|
|
1106
|
+
type: "natural"
|
|
1119
1107
|
}
|
|
1120
1108
|
],
|
|
1121
1109
|
"perfectionist/sort-vue-attributes": [OFF]
|
package/dist/index.d.cts
CHANGED
|
@@ -4425,6 +4425,11 @@ interface RuleOptions {
|
|
|
4425
4425
|
* @see https://typescript-eslint.io/rules/no-unnecessary-condition
|
|
4426
4426
|
*/
|
|
4427
4427
|
'ts/no-unnecessary-condition'?: Linter.RuleEntry<TsNoUnnecessaryCondition>
|
|
4428
|
+
/**
|
|
4429
|
+
* Disallow unnecessary assignment of constructor property parameter
|
|
4430
|
+
* @see https://typescript-eslint.io/rules/no-unnecessary-parameter-property-assignment
|
|
4431
|
+
*/
|
|
4432
|
+
'ts/no-unnecessary-parameter-property-assignment'?: Linter.RuleEntry<[]>
|
|
4428
4433
|
/**
|
|
4429
4434
|
* Disallow unnecessary namespace qualifiers
|
|
4430
4435
|
* @see https://typescript-eslint.io/rules/no-unnecessary-qualifier
|
|
@@ -11517,10 +11522,6 @@ type TsNoExtraneousClass = []|[{
|
|
|
11517
11522
|
}]
|
|
11518
11523
|
// ----- ts/no-floating-promises -----
|
|
11519
11524
|
type TsNoFloatingPromises = []|[{
|
|
11520
|
-
|
|
11521
|
-
ignoreVoid?: boolean
|
|
11522
|
-
|
|
11523
|
-
ignoreIIFE?: boolean
|
|
11524
11525
|
allowForKnownSafePromises?: (string | {
|
|
11525
11526
|
from: "file"
|
|
11526
11527
|
name: (string | [string, ...(string)[]])
|
|
@@ -11545,6 +11546,12 @@ type TsNoFloatingPromises = []|[{
|
|
|
11545
11546
|
name: (string | [string, ...(string)[]])
|
|
11546
11547
|
package: string
|
|
11547
11548
|
})[]
|
|
11549
|
+
|
|
11550
|
+
checkThenables?: boolean
|
|
11551
|
+
|
|
11552
|
+
ignoreVoid?: boolean
|
|
11553
|
+
|
|
11554
|
+
ignoreIIFE?: boolean
|
|
11548
11555
|
}]
|
|
11549
11556
|
// ----- ts/no-inferrable-types -----
|
|
11550
11557
|
type TsNoInferrableTypes = []|[{
|
|
@@ -11900,7 +11907,7 @@ type TsRestrictTemplateExpressions = []|[{
|
|
|
11900
11907
|
allowNever?: boolean
|
|
11901
11908
|
}]
|
|
11902
11909
|
// ----- ts/return-await -----
|
|
11903
|
-
type TsReturnAwait = []|[("in-try-catch" | "always" | "never")]
|
|
11910
|
+
type TsReturnAwait = []|[("in-try-catch" | "always" | "never" | "error-handling-correctness-only")]
|
|
11904
11911
|
// ----- ts/sort-type-constituents -----
|
|
11905
11912
|
type TsSortTypeConstituents = []|[{
|
|
11906
11913
|
|
package/dist/index.d.ts
CHANGED
|
@@ -4425,6 +4425,11 @@ interface RuleOptions {
|
|
|
4425
4425
|
* @see https://typescript-eslint.io/rules/no-unnecessary-condition
|
|
4426
4426
|
*/
|
|
4427
4427
|
'ts/no-unnecessary-condition'?: Linter.RuleEntry<TsNoUnnecessaryCondition>
|
|
4428
|
+
/**
|
|
4429
|
+
* Disallow unnecessary assignment of constructor property parameter
|
|
4430
|
+
* @see https://typescript-eslint.io/rules/no-unnecessary-parameter-property-assignment
|
|
4431
|
+
*/
|
|
4432
|
+
'ts/no-unnecessary-parameter-property-assignment'?: Linter.RuleEntry<[]>
|
|
4428
4433
|
/**
|
|
4429
4434
|
* Disallow unnecessary namespace qualifiers
|
|
4430
4435
|
* @see https://typescript-eslint.io/rules/no-unnecessary-qualifier
|
|
@@ -11517,10 +11522,6 @@ type TsNoExtraneousClass = []|[{
|
|
|
11517
11522
|
}]
|
|
11518
11523
|
// ----- ts/no-floating-promises -----
|
|
11519
11524
|
type TsNoFloatingPromises = []|[{
|
|
11520
|
-
|
|
11521
|
-
ignoreVoid?: boolean
|
|
11522
|
-
|
|
11523
|
-
ignoreIIFE?: boolean
|
|
11524
11525
|
allowForKnownSafePromises?: (string | {
|
|
11525
11526
|
from: "file"
|
|
11526
11527
|
name: (string | [string, ...(string)[]])
|
|
@@ -11545,6 +11546,12 @@ type TsNoFloatingPromises = []|[{
|
|
|
11545
11546
|
name: (string | [string, ...(string)[]])
|
|
11546
11547
|
package: string
|
|
11547
11548
|
})[]
|
|
11549
|
+
|
|
11550
|
+
checkThenables?: boolean
|
|
11551
|
+
|
|
11552
|
+
ignoreVoid?: boolean
|
|
11553
|
+
|
|
11554
|
+
ignoreIIFE?: boolean
|
|
11548
11555
|
}]
|
|
11549
11556
|
// ----- ts/no-inferrable-types -----
|
|
11550
11557
|
type TsNoInferrableTypes = []|[{
|
|
@@ -11900,7 +11907,7 @@ type TsRestrictTemplateExpressions = []|[{
|
|
|
11900
11907
|
allowNever?: boolean
|
|
11901
11908
|
}]
|
|
11902
11909
|
// ----- ts/return-await -----
|
|
11903
|
-
type TsReturnAwait = []|[("in-try-catch" | "always" | "never")]
|
|
11910
|
+
type TsReturnAwait = []|[("in-try-catch" | "always" | "never" | "error-handling-correctness-only")]
|
|
11904
11911
|
// ----- ts/sort-type-constituents -----
|
|
11905
11912
|
type TsSortTypeConstituents = []|[{
|
|
11906
11913
|
|
package/dist/index.js
CHANGED
|
@@ -1001,23 +1001,11 @@ async function perfectionist() {
|
|
|
1001
1001
|
"perfectionist/sort-imports": [
|
|
1002
1002
|
ERROR,
|
|
1003
1003
|
{
|
|
1004
|
-
|
|
1005
|
-
"type",
|
|
1006
|
-
["builtin", "external"],
|
|
1007
|
-
"internal-type",
|
|
1008
|
-
"internal",
|
|
1009
|
-
["parent-type", "sibling-type", "index-type"],
|
|
1010
|
-
["parent", "sibling", "index"],
|
|
1011
|
-
"object",
|
|
1012
|
-
"unknown"
|
|
1013
|
-
],
|
|
1014
|
-
"internal-pattern": [
|
|
1004
|
+
internalPattern: [
|
|
1015
1005
|
"~/**",
|
|
1016
1006
|
"~~/**"
|
|
1017
1007
|
],
|
|
1018
|
-
|
|
1019
|
-
"order": "asc",
|
|
1020
|
-
"type": "natural"
|
|
1008
|
+
type: "natural"
|
|
1021
1009
|
}
|
|
1022
1010
|
],
|
|
1023
1011
|
"perfectionist/sort-vue-attributes": [OFF]
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vinicunca/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.7.
|
|
4
|
+
"version": "2.7.4",
|
|
5
5
|
"description": "Vinicunca ESLint config",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "praburangki",
|
|
@@ -58,11 +58,11 @@
|
|
|
58
58
|
"eslint": ">=8.57.0"
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@eslint-react/eslint-plugin": "^1.
|
|
62
|
-
"@stylistic/eslint-plugin": "^2.6.
|
|
63
|
-
"@typescript-eslint/eslint-plugin": "8.0.0
|
|
64
|
-
"@typescript-eslint/parser": "8.0.0
|
|
65
|
-
"@unocss/eslint-plugin": "^0.61.
|
|
61
|
+
"@eslint-react/eslint-plugin": "^1.8.0",
|
|
62
|
+
"@stylistic/eslint-plugin": "^2.6.1",
|
|
63
|
+
"@typescript-eslint/eslint-plugin": "8.0.0",
|
|
64
|
+
"@typescript-eslint/parser": "8.0.0",
|
|
65
|
+
"@unocss/eslint-plugin": "^0.61.9",
|
|
66
66
|
"eslint-config-flat-gitignore": "^0.1.8",
|
|
67
67
|
"eslint-flat-config-utils": "^0.3.0",
|
|
68
68
|
"eslint-merge-processors": "^0.1.0",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
71
71
|
"eslint-plugin-format": "^0.1.2",
|
|
72
72
|
"eslint-plugin-import-x": "^3.1.0",
|
|
73
|
-
"eslint-plugin-jsdoc": "^48.
|
|
73
|
+
"eslint-plugin-jsdoc": "^48.10.2",
|
|
74
74
|
"eslint-plugin-jsonc": "^2.16.0",
|
|
75
75
|
"eslint-plugin-markdown": "^5.1.0",
|
|
76
76
|
"eslint-plugin-n": "^17.10.1",
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"eslint-plugin-vue": "^9.27.0",
|
|
86
86
|
"eslint-plugin-yml": "^1.14.0",
|
|
87
87
|
"eslint-processor-vue-blocks": "^0.1.2",
|
|
88
|
-
"globals": "^15.
|
|
88
|
+
"globals": "^15.9.0",
|
|
89
89
|
"jsonc-eslint-parser": "^2.4.0",
|
|
90
90
|
"local-pkg": "^0.5.0",
|
|
91
91
|
"vue-eslint-parser": "^9.4.3",
|