From 8cda0ed6225d38d53a98c222afd39f3b9ea76c88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20LUDWIG?= Date: Mon, 18 Nov 2024 01:16:21 +0100 Subject: [PATCH] chore: ignore eslint in challenges and templates --- eslint.config.js | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/eslint.config.js b/eslint.config.js index f939638..9c49d38 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -1,13 +1,19 @@ import typescriptESLint from "typescript-eslint" import configConventions from "eslint-config-conventions" -export default typescriptESLint.config(...configConventions, { - files: ["**/*.ts", "**/*.tsx"], - languageOptions: { - parser: typescriptESLint.parser, - parserOptions: { - projectService: true, - tsconfigRootDir: import.meta.dirname, - }, +export default typescriptESLint.config( + ...configConventions, + { + ignores: ["challenges/**", "templates/**"], }, -}) + { + files: ["**/*.ts", "**/*.tsx"], + languageOptions: { + parser: typescriptESLint.parser, + parserOptions: { + projectService: true, + tsconfigRootDir: import.meta.dirname, + }, + }, + } +)