|
64 | 64 | "gulp-typescript": "^2.12.0", |
65 | 65 | "gulp-util": "^3.0.5", |
66 | 66 | "mocha": "^2.4.5", |
| 67 | + "prettier": "^1.11.1", |
67 | 68 | "run-sequence": "*", |
| 69 | + "tslint": "^5.9.1", |
| 70 | + "tslint-config-prettier": "^1.10.0", |
| 71 | + "tslint-microsoft-contrib": "^5.0.3", |
68 | 72 | "typescript": "^2.1.5", |
69 | 73 | "vscode": "^1.1.4", |
70 | 74 | "vscode-debugadapter-testsupport": "^1.19.0" |
71 | 75 | }, |
72 | | - "extensionDependencies": [ |
73 | | - "castwide.solargraph" |
74 | | - ], |
75 | 76 | "scripts": { |
76 | 77 | "vscode:prepublish": "tsc -p ./src", |
77 | 78 | "compile": "tsc -p ./src", |
78 | 79 | "watch": "tsc -w -p ./src", |
79 | 80 | "test-debugger": "node ./node_modules/mocha/bin/mocha --timeout 15000 -u tdd ./out/debugger/tests/*.js", |
80 | 81 | "postinstall": "node ./node_modules/vscode/bin/install", |
81 | 82 | "update-all-grammars": "node scripts/update-all-grammars", |
82 | | - "update-grammar": "node scripts/update-grammar atom/language-ruby" |
| 83 | + "update-grammar": "node scripts/update-grammar atom/language-ruby", |
| 84 | + "lint": "tslint -c tslint.json 'src/**/*.ts'" |
83 | 85 | }, |
84 | 86 | "activationEvents": [ |
85 | 87 | "onLanguage:ruby", |
|
134 | 136 | "isExecutable": true |
135 | 137 | }, |
136 | 138 | "ruby.codeCompletion": { |
137 | | - "type": "string", |
138 | | - "enum": ["solargraph", "rcodetools", "none"], |
139 | | - "default": "solargraph", |
140 | | - "description": "Method to use for code completion." |
| 139 | + "type": ["boolean", "string"], |
| 140 | + "enum": [false, "rcodetools"], |
| 141 | + "default": false, |
| 142 | + "description": "Method to use for code completion. Use `false` to disable or if another extension provides this feature." |
141 | 143 | }, |
142 | 144 | "ruby.intellisense": { |
143 | | - "type": "string", |
144 | | - "enum": ["solargraph", "rubyLocate", "none"], |
145 | | - "default": "solargraph", |
146 | | - "description": "Method to use for intellisense (go to definition, etc.)." |
| 145 | + "type": ["boolean", "string"], |
| 146 | + "enum": [false, "rubyLocate"], |
| 147 | + "default": false, |
| 148 | + "description": "Method to use for intellisense (go to definition, etc.). Use `false` to disable or if another extension provides this feature." |
147 | 149 | }, |
148 | 150 | "ruby.useBundler": { |
149 | 151 | "type": "boolean", |
|
284 | 286 | } |
285 | 287 | } |
286 | 288 | } |
| 289 | + }, |
| 290 | + "ruby.format": { |
| 291 | + "type": [ "boolean", "string" ], |
| 292 | + "enum": [ false, "rubocop" ], |
| 293 | + "default": false, |
| 294 | + "description": "Which system to use for formatting. Use `false` to disable or if another extension provides this feature." |
287 | 295 | } |
288 | 296 | } |
289 | 297 | }, |
|
0 commit comments