chore: eslint config (ignore .github, include .ts files, gebruik config bestand)

This commit is contained in:
Timo De Meyst 2025-02-28 20:32:48 +01:00
parent 0fc5a99269
commit f8ba6ad488
2 changed files with 8 additions and 1 deletions

View file

@ -37,4 +37,5 @@ jobs:
uses: wearerequired/lint-action@v2
with:
eslint: true
eslint_args: "--config eslint.config.ts"
prettier: true

View file

@ -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: {