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

Commit

Permalink
Merge branch 'master' into reek-force-exclusion
Browse files Browse the repository at this point in the history
  • Loading branch information
pelted authored Apr 6, 2018
2 parents 7440488 + 72ae6af commit aed3522
Show file tree
Hide file tree
Showing 16 changed files with 727 additions and 385 deletions.
6 changes: 6 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"printWidth": 100,
"singleQuote": true,
"trailingComma": "es5",
"useTabs": true
}
3 changes: 3 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"recommendations": ["esbenp.prettier-vscode", "eg2.tslint"]
}
8 changes: 7 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,11 @@
"files.trimTrailingWhitespace": true,
"eslint.enable": false,
"editor.insertSpaces": false,
"[javascript]": {
"editor.formatOnSave": false
},
"[typescript]": {
"editor.formatOnSave": false
},
"typescript.tsdk": "node_modules/typescript/lib"
}
}
178 changes: 176 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 20 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,22 +64,24 @@
"gulp-typescript": "^2.12.0",
"gulp-util": "^3.0.5",
"mocha": "^2.4.5",
"prettier": "^1.11.1",
"run-sequence": "*",
"tslint": "^5.9.1",
"tslint-config-prettier": "^1.10.0",
"tslint-microsoft-contrib": "^5.0.3",
"typescript": "^2.1.5",
"vscode": "^1.1.4",
"vscode-debugadapter-testsupport": "^1.19.0"
},
"extensionDependencies": [
"castwide.solargraph"
],
"scripts": {
"vscode:prepublish": "tsc -p ./src",
"compile": "tsc -p ./src",
"watch": "tsc -w -p ./src",
"test-debugger": "node ./node_modules/mocha/bin/mocha --timeout 15000 -u tdd ./out/debugger/tests/*.js",
"postinstall": "node ./node_modules/vscode/bin/install",
"update-all-grammars": "node scripts/update-all-grammars",
"update-grammar": "node scripts/update-grammar atom/language-ruby"
"update-grammar": "node scripts/update-grammar atom/language-ruby",
"lint": "tslint -c tslint.json 'src/**/*.ts'"
},
"activationEvents": [
"onLanguage:ruby",
Expand Down Expand Up @@ -134,16 +136,16 @@
"isExecutable": true
},
"ruby.codeCompletion": {
"type": "string",
"enum": ["solargraph", "rcodetools", "none"],
"default": "solargraph",
"description": "Method to use for code completion."
"type": ["boolean", "string"],
"enum": [false, "rcodetools"],
"default": false,
"description": "Method to use for code completion. Use `false` to disable or if another extension provides this feature."
},
"ruby.intellisense": {
"type": "string",
"enum": ["solargraph", "rubyLocate", "none"],
"default": "solargraph",
"description": "Method to use for intellisense (go to definition, etc.)."
"type": ["boolean", "string"],
"enum": [false, "rubyLocate"],
"default": false,
"description": "Method to use for intellisense (go to definition, etc.). Use `false` to disable or if another extension provides this feature."
},
"ruby.useBundler": {
"type": "boolean",
Expand Down Expand Up @@ -284,6 +286,12 @@
}
}
}
},
"ruby.format": {
"type": [ "boolean", "string" ],
"enum": [ false, "rubocop" ],
"default": false,
"description": "Which system to use for formatting. Use `false` to disable or if another extension provides this feature."
}
}
},
Expand Down
Loading

0 comments on commit aed3522

Please sign in to comment.