From 85114c83792c1e3ef46f649ea0df2c6aab527719 Mon Sep 17 00:00:00 2001 From: Elliot Huffman Date: Mon, 6 May 2024 22:37:23 -0400 Subject: [PATCH] Enable the ES Lint Ruleset Enable the es lint recommended ruleset, the same way that it was configured in the legacy config. Read here for the specifics of what it does: https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/src/configs/eslint-recommended.ts --- eslint.config.mjs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/eslint.config.mjs b/eslint.config.mjs index 9ae4fc86f..58c79dea1 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -4,8 +4,8 @@ import tseslint from 'typescript-eslint'; export default tseslint.config( eslint.configs.recommended, - // Remove the tslint base config once a typescript rule set is added tseslint.configs.base, + tseslint.configs.eslintRecommended, { 'ignores': [ "/src/**/*.d.ts", @@ -16,8 +16,6 @@ export default tseslint.config( ] }, { - // The files property can be removed after a typescript rule set is added - 'files': ['**/*.ts', '**/*.tsx', '**/*.mts', '**/*.cts'], 'languageOptions': { 'globals': { ...globals.mocha,