From f8ba6ad4883b8051a4482e84f0a827f21955344b Mon Sep 17 00:00:00 2001 From: Timo De Meyst Date: Fri, 28 Feb 2025 20:32:48 +0100 Subject: [PATCH] chore: eslint config (ignore .github, include .ts files, gebruik config bestand) --- .github/workflows/lint-action.yml | 1 + eslint.config.ts | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/lint-action.yml b/.github/workflows/lint-action.yml index 145e820b..77cc9568 100644 --- a/.github/workflows/lint-action.yml +++ b/.github/workflows/lint-action.yml @@ -37,4 +37,5 @@ jobs: uses: wearerequired/lint-action@v2 with: eslint: true + eslint_args: "--config eslint.config.ts" prettier: true \ No newline at end of file diff --git a/eslint.config.ts b/eslint.config.ts index 7d657c67..52813c36 100644 --- a/eslint.config.ts +++ b/eslint.config.ts @@ -16,7 +16,13 @@ export default [ prettierConfig, includeIgnoreFile(gitignorePath), { - ignores: ['**/dist/**', '**/.node_modules/**', '**/coverage/**'], + ignores: ['**/dist/**', '**/.node_modules/**', '**/coverage/**', '/.github/**'], + files: [ + "**/*.ts", + "**/*.cts", + "**.*.mts", + "**/*.ts" + ] }, { languageOptions: {