1
1
mirror of https://github.com/theoludwig/eslint-config-conventions.git synced 2024-12-18 21:45:04 +01:00

feat: add @typescript-eslint/prefer-return-this-type

BREAKING CHANGE: New rule introduced
This commit is contained in:
Théo LUDWIG 2024-05-21 19:39:49 +02:00
parent 0df1b867a4
commit eac273c076
Signed by: theoludwig
GPG Key ID: ADFE5A563D718F3B

View File

@ -313,6 +313,7 @@
], ],
"@typescript-eslint/prefer-readonly": "error", "@typescript-eslint/prefer-readonly": "error",
"@typescript-eslint/prefer-reduce-type-parameter": "error", "@typescript-eslint/prefer-reduce-type-parameter": "error",
"@typescript-eslint/prefer-return-this-type": "error",
"@typescript-eslint/prefer-ts-expect-error": "error", "@typescript-eslint/prefer-ts-expect-error": "error",
"@typescript-eslint/promise-function-async": "error", "@typescript-eslint/promise-function-async": "error",
"prefer-promise-reject-errors": "off", "prefer-promise-reject-errors": "off",