mirror of
https://github.com/theoludwig/eslint-config-conventions.git
synced 2025-11-29 14:22:28 +01:00
fix: update .oxlintrc.json
This commit is contained in:
@@ -126,7 +126,7 @@
|
||||
],
|
||||
"no-regex-spaces": "error",
|
||||
"no-shadow-restricted-names": "error",
|
||||
"no-throw-literal": "error",
|
||||
"no-throw-literal": "off",
|
||||
"no-unused-expressions": [
|
||||
"error",
|
||||
{
|
||||
@@ -282,8 +282,7 @@
|
||||
"builtinGlobals": false
|
||||
}
|
||||
],
|
||||
"no-throw-literal": "off",
|
||||
"@typescript-eslint/only-throw-error": "error",
|
||||
"@typescript-eslint/only-throw-error": "off",
|
||||
"no-unused-expressions": [
|
||||
"error",
|
||||
{
|
||||
@@ -313,6 +312,7 @@
|
||||
],
|
||||
"@typescript-eslint/no-base-to-string": "error",
|
||||
"@typescript-eslint/no-dynamic-delete": "off",
|
||||
"@typescript-eslint/no-deprecated": "off",
|
||||
"@typescript-eslint/no-extra-non-null-assertion": "error",
|
||||
"@typescript-eslint/no-redundant-type-constituents": "error",
|
||||
"@typescript-eslint/no-extraneous-class": [
|
||||
@@ -351,6 +351,7 @@
|
||||
"@typescript-eslint/no-array-delete": "error",
|
||||
"@typescript-eslint/prefer-as-const": "error",
|
||||
"@typescript-eslint/prefer-function-type": "error",
|
||||
"@typescript-eslint/prefer-includes": "error",
|
||||
"@typescript-eslint/prefer-reduce-type-parameter": "error",
|
||||
"@typescript-eslint/prefer-return-this-type": "error",
|
||||
"@typescript-eslint/promise-function-async": "error",
|
||||
@@ -373,6 +374,18 @@
|
||||
{
|
||||
"allowNumber": true
|
||||
}
|
||||
],
|
||||
"@typescript-eslint/strict-boolean-expressions": [
|
||||
"error",
|
||||
{
|
||||
"allowString": false,
|
||||
"allowNumber": false,
|
||||
"allowNullableObject": false,
|
||||
"allowNullableBoolean": false,
|
||||
"allowNullableString": false,
|
||||
"allowNullableNumber": false,
|
||||
"allowAny": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"plugins": ["typescript"]
|
||||
|
||||
Reference in New Issue
Block a user