mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-04-27 16:55:44 +08:00
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
73 lines
1.4 KiB
JSON
73 lines
1.4 KiB
JSON
{
|
|
"name": "references-plusplus",
|
|
"displayName": "References++",
|
|
"description": "Show the results of 'Find References' as formatted text in an editor",
|
|
"version": "0.0.5",
|
|
"publisher": "vscode-samples",
|
|
"private": true,
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/Microsoft/vscode-extension-samples"
|
|
},
|
|
"engines": {
|
|
"vscode": "^1.39.0"
|
|
},
|
|
"categories": [
|
|
"Other"
|
|
],
|
|
"activationEvents": [
|
|
"onCommand:editor.printReferences"
|
|
],
|
|
"main": "./out/extension.js",
|
|
"contributes": {
|
|
"commands": [
|
|
{
|
|
"command": "editor.printReferences",
|
|
"title": "Show All References"
|
|
}
|
|
],
|
|
"menus": {
|
|
"editor/context": [
|
|
{
|
|
"command": "editor.printReferences",
|
|
"when": "editorHasReferenceProvider",
|
|
"group": "navigation@1.31"
|
|
}
|
|
]
|
|
},
|
|
"languages": [
|
|
{
|
|
"id": "locations",
|
|
"aliases": [
|
|
"Locations"
|
|
],
|
|
"extensions": [
|
|
".locations"
|
|
]
|
|
}
|
|
],
|
|
"grammars": [
|
|
{
|
|
"language": "locations",
|
|
"path": "./locations-syntax.json",
|
|
"scopeName": "source.locations"
|
|
}
|
|
]
|
|
},
|
|
"scripts": {
|
|
"vscode:prepublish": "npm run compile",
|
|
"compile": "tsc -p ./",
|
|
"lint": "eslint \"src/**/*.ts\"",
|
|
"watch": "tsc -watch -p ./"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^16.11.7",
|
|
"@types/vscode": "^1.39.0",
|
|
"@typescript-eslint/eslint-plugin": "^5.42.0",
|
|
"@typescript-eslint/parser": "^5.42.0",
|
|
"eslint": "^8.26.0",
|
|
"typescript": "^4.8.4"
|
|
}
|
|
}
|