chore: eslint config (ignore .github, include .ts files, gebruik config bestand)
This commit is contained in:
parent
0fc5a99269
commit
f8ba6ad488
2 changed files with 8 additions and 1 deletions
1
.github/workflows/lint-action.yml
vendored
1
.github/workflows/lint-action.yml
vendored
|
@ -37,4 +37,5 @@ jobs:
|
||||||
uses: wearerequired/lint-action@v2
|
uses: wearerequired/lint-action@v2
|
||||||
with:
|
with:
|
||||||
eslint: true
|
eslint: true
|
||||||
|
eslint_args: "--config eslint.config.ts"
|
||||||
prettier: true
|
prettier: true
|
|
@ -16,7 +16,13 @@ export default [
|
||||||
prettierConfig,
|
prettierConfig,
|
||||||
includeIgnoreFile(gitignorePath),
|
includeIgnoreFile(gitignorePath),
|
||||||
{
|
{
|
||||||
ignores: ['**/dist/**', '**/.node_modules/**', '**/coverage/**'],
|
ignores: ['**/dist/**', '**/.node_modules/**', '**/coverage/**', '/.github/**'],
|
||||||
|
files: [
|
||||||
|
"**/*.ts",
|
||||||
|
"**/*.cts",
|
||||||
|
"**.*.mts",
|
||||||
|
"**/*.ts"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
languageOptions: {
|
languageOptions: {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue