From ae4b8fad51bea2fb708fd7e5e2a051347a49fefe Mon Sep 17 00:00:00 2001 From: Marshall Polaris Date: Tue, 24 May 2022 13:48:16 -0700 Subject: [PATCH] Turn on Typescript linting in common except for no-explicit-any --- common/.eslintrc.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/common/.eslintrc.js b/common/.eslintrc.js index 9c857fe0..6e7b62cd 100644 --- a/common/.eslintrc.js +++ b/common/.eslintrc.js @@ -9,15 +9,18 @@ module.exports = { { files: ['**/*.ts'], plugins: ['@typescript-eslint'], + extends: ['plugin:@typescript-eslint/recommended'], parser: '@typescript-eslint/parser', parserOptions: { tsconfigRootDir: __dirname, project: ['./tsconfig.json'], }, + rules: { + '@typescript-eslint/no-explicit-any': 'off', + }, }, ], rules: { - 'no-unused-vars': 'off', 'no-constant-condition': ['error', { checkLoops: false }], 'lodash/import-scope': [2, 'member'], },