Skip to content

Commit

Permalink
Merge pull request #29 from simonppg/TsStandardEslintrc
Browse files Browse the repository at this point in the history
Ts standard eslintrc
  • Loading branch information
simonppg authored Sep 13, 2023
2 parents 6d8e42a + 5947e1c commit 9d53a08
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
env:
es6: true
browser: true
node: true

parserOptions:
project: ["./tsconfig.json"]
createDefaultProgram: true
2 changes: 2 additions & 0 deletions .github/workflows/super-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,5 @@ jobs:
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
FILTER_REGEX_EXCLUDE: .*tests/.*
JAVASCRIPT_ES_CONFIG_FILE: .eslintrc.yml
TYPESCRIPT_ES_CONFIG_FILE: .eslintrc.yml
5 changes: 4 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"strict": true,
"skipLibCheck": true
"skipLibCheck": true,
"rootDirs": [
"src/**/*"
]
},
"include": [
"src/**/*"
Expand Down

0 comments on commit 9d53a08

Please sign in to comment.