From 256a5024d6973a8b992d1de3f3c9a545f0bf88bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20LUDWIG?= Date: Thu, 8 Feb 2024 22:56:43 +0100 Subject: [PATCH] feat: add `@typescript-eslint/prefer-as-const` BREAKING CHANGE: New rule introduced --- .eslintrc.json | 1 + 1 file changed, 1 insertion(+) diff --git a/.eslintrc.json b/.eslintrc.json index ae00529..206d39d 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -323,6 +323,7 @@ "@typescript-eslint/no-var-requires": "error", "@typescript-eslint/no-unsafe-unary-minus": "error", "@typescript-eslint/no-array-delete": "error", + "@typescript-eslint/prefer-as-const": "error", "@typescript-eslint/prefer-function-type": "error", "@typescript-eslint/prefer-find": "error", "@typescript-eslint/prefer-includes": "error",