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-promise-reject-errors

BREAKING CHANGE: New rule introduced
This commit is contained in:
Théo LUDWIG 2024-02-08 22:53:25 +01:00
parent 7abcc179e5
commit b0f6ef585f
Signed by: theoludwig
GPG Key ID: ADFE5A563D718F3B

View File

@ -338,6 +338,8 @@
"@typescript-eslint/prefer-reduce-type-parameter": "error", "@typescript-eslint/prefer-reduce-type-parameter": "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",
"@typescript-eslint/prefer-promise-reject-errors": "error",
"@typescript-eslint/require-array-sort-compare": [ "@typescript-eslint/require-array-sort-compare": [
"error", "error",
{ "ignoreStringArrays": true } { "ignoreStringArrays": true }