@vinicunca/eslint-config 2.7.3 → 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.d.cts +12 -5
- package/dist/index.d.ts +12 -5
- package/package.json +8 -8
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/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",
|