From ec2e422b2588cea870a99d22222bed82ceea474e Mon Sep 17 00:00:00 2001 From: Paul Ebose Date: Fri, 17 Jan 2025 20:27:31 +0100 Subject: [PATCH] separate `ignores` in eslint config That's the only way for it to act as a global eslintignore --- eslint.config.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eslint.config.ts b/eslint.config.ts index a10c76111..19225def0 100644 --- a/eslint.config.ts +++ b/eslint.config.ts @@ -22,6 +22,8 @@ export default ts.config( // Custom config { ignores: ['**/build/**', '**/dist/**', '**/node_modules/**', 'eslint.config.js'], + }, + { files: ['**/*.{js,mjs,cjs,jsx,mjsx,ts,tsx,mtsx}'], languageOptions: { parser: ts.parser,