mirror of
https://github.com/theoludwig/eslint-config-conventions.git
synced 2024-12-18 21:45:04 +01:00
Compare commits
5 Commits
14d3e0ba30
...
12f37d01b3
Author | SHA1 | Date | |
---|---|---|---|
12f37d01b3 | |||
6af4b4f6ac | |||
b4f1c0b8dd | |||
116c3c600a | |||
4115843cc1 |
@ -228,6 +228,12 @@
|
|||||||
"no-useless-constructor": "off",
|
"no-useless-constructor": "off",
|
||||||
"@typescript-eslint/no-useless-constructor": "error",
|
"@typescript-eslint/no-useless-constructor": "error",
|
||||||
"@typescript-eslint/no-unnecessary-template-expression": "error",
|
"@typescript-eslint/no-unnecessary-template-expression": "error",
|
||||||
|
"@typescript-eslint/no-unnecessary-condition": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"allowConstantLoopConditions": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
|
||||||
"@typescript-eslint/adjacent-overload-signatures": "error",
|
"@typescript-eslint/adjacent-overload-signatures": "error",
|
||||||
"@typescript-eslint/array-type": [
|
"@typescript-eslint/array-type": [
|
||||||
@ -252,6 +258,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"@typescript-eslint/method-signature-style": "error",
|
"@typescript-eslint/method-signature-style": "error",
|
||||||
|
"@typescript-eslint/unbound-method": "error",
|
||||||
"@typescript-eslint/naming-convention": [
|
"@typescript-eslint/naming-convention": [
|
||||||
"error",
|
"error",
|
||||||
{
|
{
|
||||||
@ -262,8 +269,10 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"@typescript-eslint/no-base-to-string": "error",
|
"@typescript-eslint/no-base-to-string": "error",
|
||||||
|
"@typescript-eslint/no-deprecated": "error",
|
||||||
"@typescript-eslint/no-dynamic-delete": "error",
|
"@typescript-eslint/no-dynamic-delete": "error",
|
||||||
"@typescript-eslint/no-extra-non-null-assertion": "error",
|
"@typescript-eslint/no-extra-non-null-assertion": "error",
|
||||||
|
"@typescript-eslint/no-redundant-type-constituents": "error",
|
||||||
"@typescript-eslint/no-extraneous-class": [
|
"@typescript-eslint/no-extraneous-class": [
|
||||||
"error",
|
"error",
|
||||||
{ "allowWithDecorator": true }
|
{ "allowWithDecorator": true }
|
||||||
@ -282,6 +291,7 @@
|
|||||||
"@typescript-eslint/no-unnecessary-type-assertion": "error",
|
"@typescript-eslint/no-unnecessary-type-assertion": "error",
|
||||||
"@typescript-eslint/no-require-imports": "error",
|
"@typescript-eslint/no-require-imports": "error",
|
||||||
"@typescript-eslint/no-unsafe-unary-minus": "error",
|
"@typescript-eslint/no-unsafe-unary-minus": "error",
|
||||||
|
"@typescript-eslint/no-unsafe-declaration-merging": "error",
|
||||||
"@typescript-eslint/no-array-delete": "error",
|
"@typescript-eslint/no-array-delete": "error",
|
||||||
"@typescript-eslint/prefer-as-const": "error",
|
"@typescript-eslint/prefer-as-const": "error",
|
||||||
"@typescript-eslint/prefer-function-type": "error",
|
"@typescript-eslint/prefer-function-type": "error",
|
||||||
|
@ -56,8 +56,8 @@ If you want to use **TypeScript**, you also need to install:
|
|||||||
```sh
|
```sh
|
||||||
npm install --save-dev \
|
npm install --save-dev \
|
||||||
"typescript@^5.6.2" \
|
"typescript@^5.6.2" \
|
||||||
"@typescript-eslint/eslint-plugin@^8.0.0" \
|
"@typescript-eslint/eslint-plugin@^8.3.0" \
|
||||||
"@typescript-eslint/parser@^8.0.0"
|
"@typescript-eslint/parser@^8.3.0"
|
||||||
```
|
```
|
||||||
|
|
||||||
Dependencies are:
|
Dependencies are:
|
||||||
|
Loading…
Reference in New Issue
Block a user