diff --git a/package.json b/package.json index 3cf421b..f6214b2 100644 --- a/package.json +++ b/package.json @@ -1,60 +1,76 @@ { "name": "arc-vscode", "displayName": "arc vscode", "description": "Arcanist (Phabricator) support for VSCode", "version": "0.0.1", "engines": { "vscode": "^1.46.0" }, "categories": [ "Other" ], "activationEvents": [ "workspaceContains:**/.arclint", "workspaceContains:**/.arcconfig" ], "main": "./out/extension.js", "contributes": { "commands": [ { "command": "arc-vscode.clearLint", "title": "Clear all arc-lint messages" } ], "configuration": { "title": "Arcanist", "properties": { "arc-vscode.lint.maxDiagnosticsLevel": { "type": "string", "default": "error", - "enum": ["error", "warning", "info", "hint"], + "enum": [ + "error", + "warning", + "info", + "hint" + ], "description": "The maximum level a lint can appear at." } } - } + }, + "languages": [ + { + "id": "json", + "extensions": [ + ".arcconfig", + ".arclint", + ".arcrc", + ".arcunit" + ] + } + ] }, "scripts": { "vscode:prepublish": "npm run compile", "compile": "tsc -p ./", "lint": "eslint src --ext ts", "watch": "tsc -watch -p ./", "pretest": "npm run compile && npm run lint", "test": "node ./out/test/runTest.js" }, "devDependencies": { "@types/vscode": "^1.46.0", "@types/glob": "^7.1.1", "@types/mocha": "^7.0.2", "@types/node": "^13.11.0", "eslint": "^6.8.0", "@typescript-eslint/parser": "^2.30.0", "@typescript-eslint/eslint-plugin": "^2.30.0", "glob": "^7.1.6", "mocha": "^7.1.2", "typescript": "^3.8.3", "vscode-test": "^1.3.0" }, "dependencies": { "execa": "^4.0.2" } }