mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-04-27 16:55:44 +08:00
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:
1
test-provider-sample/.gitignore
vendored
1
test-provider-sample/.gitignore
vendored
@ -4,4 +4,3 @@ node_modules
|
||||
*.vsix
|
||||
|
||||
/vscode.d.ts
|
||||
/vscode.proposed.*.d.ts
|
||||
|
||||
583
test-provider-sample/package-lock.json
generated
583
test-provider-sample/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user