@bfra.me/eslint-config 0.4.4 → 0.4.6
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/lib/index.d.ts +15 -0
- package/package.json +7 -7
- package/src/rules.d.ts +15 -0
package/lib/index.d.ts
CHANGED
|
@@ -4018,6 +4018,19 @@ type TypescriptEslintNoVarRequires = []|[{
|
|
|
4018
4018
|
// ----- @typescript-eslint/only-throw-error -----
|
|
4019
4019
|
type TypescriptEslintOnlyThrowError = []|[{
|
|
4020
4020
|
|
|
4021
|
+
allow?: (string | {
|
|
4022
|
+
from: "file"
|
|
4023
|
+
name: (string | [string, ...(string)[]])
|
|
4024
|
+
path?: string
|
|
4025
|
+
} | {
|
|
4026
|
+
from: "lib"
|
|
4027
|
+
name: (string | [string, ...(string)[]])
|
|
4028
|
+
} | {
|
|
4029
|
+
from: "package"
|
|
4030
|
+
name: (string | [string, ...(string)[]])
|
|
4031
|
+
package: string
|
|
4032
|
+
})[]
|
|
4033
|
+
|
|
4021
4034
|
allowThrowingAny?: boolean
|
|
4022
4035
|
|
|
4023
4036
|
allowThrowingUnknown?: boolean
|
|
@@ -4071,6 +4084,8 @@ type TypescriptEslintPreferNullishCoalescing = []|[{
|
|
|
4071
4084
|
|
|
4072
4085
|
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
|
|
4073
4086
|
|
|
4087
|
+
ignoreBooleanCoercion?: boolean
|
|
4088
|
+
|
|
4074
4089
|
ignoreConditionalTests?: boolean
|
|
4075
4090
|
|
|
4076
4091
|
ignoreMixedLogicalExpressions?: boolean
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bfra.me/eslint-config",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.6",
|
|
4
4
|
"description": "Shared ESLint configuration for bfra.me",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"bfra.me",
|
|
@@ -45,17 +45,17 @@
|
|
|
45
45
|
"eslint-plugin-jsdoc": "50.4.3",
|
|
46
46
|
"eslint-plugin-perfectionist": "3.9.1",
|
|
47
47
|
"eslint-plugin-unused-imports": "4.1.4",
|
|
48
|
-
"globals": "15.
|
|
48
|
+
"globals": "15.12.0",
|
|
49
49
|
"is-in-ci": "1.0.0",
|
|
50
50
|
"local-pkg": "0.5.0",
|
|
51
|
-
"typescript-eslint": "8.
|
|
51
|
+
"typescript-eslint": "8.13.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@eslint/config-inspector": "0.5.6",
|
|
55
55
|
"@eslint/js": "9.14.0",
|
|
56
56
|
"@types/fs-extra": "11.0.4",
|
|
57
|
-
"@types/node": "22.
|
|
58
|
-
"@typescript-eslint/types": "8.
|
|
57
|
+
"@types/node": "22.9.0",
|
|
58
|
+
"@typescript-eslint/types": "8.13.0",
|
|
59
59
|
"@vitest/eslint-plugin": "1.1.7",
|
|
60
60
|
"eslint": "9.14.0",
|
|
61
61
|
"eslint-plugin-no-only-tests": "3.3.0",
|
|
@@ -68,8 +68,8 @@
|
|
|
68
68
|
"tsup": "8.3.5",
|
|
69
69
|
"tsx": "4.19.2",
|
|
70
70
|
"vitest": "2.1.4",
|
|
71
|
-
"@bfra.me/eslint-config": "0.4.
|
|
72
|
-
"@bfra.me/prettier-config": "0.9.
|
|
71
|
+
"@bfra.me/eslint-config": "0.4.6",
|
|
72
|
+
"@bfra.me/prettier-config": "0.9.3",
|
|
73
73
|
"@bfra.me/tsconfig": "0.9.0"
|
|
74
74
|
},
|
|
75
75
|
"peerDependencies": {
|
package/src/rules.d.ts
CHANGED
|
@@ -4012,6 +4012,19 @@ type TypescriptEslintNoVarRequires = []|[{
|
|
|
4012
4012
|
// ----- @typescript-eslint/only-throw-error -----
|
|
4013
4013
|
type TypescriptEslintOnlyThrowError = []|[{
|
|
4014
4014
|
|
|
4015
|
+
allow?: (string | {
|
|
4016
|
+
from: "file"
|
|
4017
|
+
name: (string | [string, ...(string)[]])
|
|
4018
|
+
path?: string
|
|
4019
|
+
} | {
|
|
4020
|
+
from: "lib"
|
|
4021
|
+
name: (string | [string, ...(string)[]])
|
|
4022
|
+
} | {
|
|
4023
|
+
from: "package"
|
|
4024
|
+
name: (string | [string, ...(string)[]])
|
|
4025
|
+
package: string
|
|
4026
|
+
})[]
|
|
4027
|
+
|
|
4015
4028
|
allowThrowingAny?: boolean
|
|
4016
4029
|
|
|
4017
4030
|
allowThrowingUnknown?: boolean
|
|
@@ -4065,6 +4078,8 @@ type TypescriptEslintPreferNullishCoalescing = []|[{
|
|
|
4065
4078
|
|
|
4066
4079
|
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
|
|
4067
4080
|
|
|
4081
|
+
ignoreBooleanCoercion?: boolean
|
|
4082
|
+
|
|
4068
4083
|
ignoreConditionalTests?: boolean
|
|
4069
4084
|
|
|
4070
4085
|
ignoreMixedLogicalExpressions?: boolean
|