From 481b28d7c1a6ddbf8c1619887b7b71390e64b425 Mon Sep 17 00:00:00 2001 From: kyranjamie Date: Wed, 27 Sep 2023 19:10:08 +0200 Subject: [PATCH] fix: add array notation lint --- .eslintrc.js | 1 + 1 file changed, 1 insertion(+) diff --git a/.eslintrc.js b/.eslintrc.js index 32d1c18ba01..4df5195583c 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -65,6 +65,7 @@ module.exports = { // This rule is off until we can enable tsconfig noUncheckedIndexedAccess '@typescript-eslint/no-unnecessary-condition': 'off', '@typescript-eslint/consistent-type-definitions': ['error', 'interface'], + '@typescript-eslint/array-type': ['error'], 'no-warning-comments': [0], 'react-hooks/rules-of-hooks': 'error',