Skip to content
This repository was archived by the owner on Jul 31, 2023. It is now read-only.

Commit aed3522

Browse files
authored
Merge branch 'master' into reek-force-exclusion
2 parents 7440488 + 72ae6af commit aed3522

File tree

16 files changed

+727
-385
lines changed

16 files changed

+727
-385
lines changed

.prettierrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"printWidth": 100,
3+
"singleQuote": true,
4+
"trailingComma": "es5",
5+
"useTabs": true
6+
}

.vscode/extensions.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"recommendations": ["esbenp.prettier-vscode", "eg2.tslint"]
3+
}

.vscode/settings.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,11 @@
44
"files.trimTrailingWhitespace": true,
55
"eslint.enable": false,
66
"editor.insertSpaces": false,
7+
"[javascript]": {
8+
"editor.formatOnSave": false
9+
},
10+
"[typescript]": {
11+
"editor.formatOnSave": false
12+
},
713
"typescript.tsdk": "node_modules/typescript/lib"
8-
}
14+
}

package-lock.json

Lines changed: 176 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -64,22 +64,24 @@
6464
"gulp-typescript": "^2.12.0",
6565
"gulp-util": "^3.0.5",
6666
"mocha": "^2.4.5",
67+
"prettier": "^1.11.1",
6768
"run-sequence": "*",
69+
"tslint": "^5.9.1",
70+
"tslint-config-prettier": "^1.10.0",
71+
"tslint-microsoft-contrib": "^5.0.3",
6872
"typescript": "^2.1.5",
6973
"vscode": "^1.1.4",
7074
"vscode-debugadapter-testsupport": "^1.19.0"
7175
},
72-
"extensionDependencies": [
73-
"castwide.solargraph"
74-
],
7576
"scripts": {
7677
"vscode:prepublish": "tsc -p ./src",
7778
"compile": "tsc -p ./src",
7879
"watch": "tsc -w -p ./src",
7980
"test-debugger": "node ./node_modules/mocha/bin/mocha --timeout 15000 -u tdd ./out/debugger/tests/*.js",
8081
"postinstall": "node ./node_modules/vscode/bin/install",
8182
"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'"
8385
},
8486
"activationEvents": [
8587
"onLanguage:ruby",
@@ -134,16 +136,16 @@
134136
"isExecutable": true
135137
},
136138
"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."
141143
},
142144
"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."
147149
},
148150
"ruby.useBundler": {
149151
"type": "boolean",
@@ -284,6 +286,12 @@
284286
}
285287
}
286288
}
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."
287295
}
288296
}
289297
},

0 commit comments

Comments
 (0)