Bump eslint versions and update lint scripts

Pick up latest eslint to avoid a nasty warning about using an unsupported version of TS

Also updates the eslint script to be more scoped on which files it checks
This commit is contained in:
Matt Bierner
2022-11-04 13:52:32 -07:00
parent 45531b256a
commit 42e83bf2f3
110 changed files with 21070 additions and 10087 deletions

View File

@ -4,4 +4,3 @@ node_modules
*.vsix
/vscode.d.ts
/vscode.proposed.*.d.ts

File diff suppressed because it is too large Load Diff

View File

@ -23,16 +23,16 @@
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"lint": "eslint . --ext .ts,.tsx",
"lint": "eslint \"src/**/*.ts\"",
"watch": "tsc -watch -p ./",
"download-api": "vscode-dts main && vscode-dts dev",
"postinstall": "npm run download-api"
},
"devDependencies": {
"@types/node": "^16.11.7",
"@typescript-eslint/eslint-plugin": "^5.30.0",
"@typescript-eslint/parser": "^5.30.0",
"eslint": "^8.13.0",
"@typescript-eslint/eslint-plugin": "^5.42.0",
"@typescript-eslint/parser": "^5.42.0",
"eslint": "^8.26.0",
"typescript": "^4.8.4",
"vscode-dts": "^0.3.3"
}