Skip to content

Commit

Permalink
Fix eslint warnings
Browse files Browse the repository at this point in the history
And ignore some of the most noisy ones for now. Should fix
these later obviously, but for now I was mainly just concerned
with fixing the "are you sure you want to continue despite the
errors reported" warning that would be shown each time one started
a debugging session.

Signed-off-by: Anders Eknert <[email protected]>
  • Loading branch information
anderseknert committed Apr 2, 2024
1 parent 6109a70 commit 39f03b0
Show file tree
Hide file tree
Showing 7 changed files with 168 additions and 130 deletions.
19 changes: 19 additions & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
env:
browser: true
es2021: true
extends:
- eslint:recommended
- plugin:@typescript-eslint/recommended
parser: '@typescript-eslint/parser'
parserOptions:
ecmaVersion: latest
sourceType: module
plugins:
- '@typescript-eslint'
rules:
'@typescript-eslint/no-explicit-any': 'off'
'@typescript-eslint/no-var-requires': 'off'
'@typescript-eslint/no-unused-vars': 'off'
'no-undef': 'off'
'no-case-declarations': 'off'
'require-yield': 'off'
150 changes: 88 additions & 62 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -176,10 +176,11 @@
"@types/mocha": "10.0.6",
"@types/node": "20.11.13",
"@types/vscode": "1.75.0",
"@typescript-eslint/eslint-plugin": "^6.14.0",
"@typescript-eslint/parser": "^6.14.0",
"eslint": "^8.56.0",
"typescript": "5.3.3"
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@typescript-eslint/parser": "^7.2.0",
"eslint": "^8.57.0",
"typescript": "^5.3.3",
"typescript-eslint": "^7.2.0"
},
"dependencies": {
"@fohlen/github-release-downloader": "^1.0.0",
Expand Down
Loading

0 comments on commit 39f03b0

Please sign in to comment.