Skip to content

Instantly share code, notes, and snippets.

@sulmanweb
Created March 18, 2019 13:04
Show Gist options
  • Save sulmanweb/d582b409a46e2e69f563ee23f6121140 to your computer and use it in GitHub Desktop.
Save sulmanweb/d582b409a46e2e69f563ee23f6121140 to your computer and use it in GitHub Desktop.
VS Code Ruby Settings
{
"rubocop": {
"lint": true, //enable all lint cops.
"only": [/* array: Run only the specified cop(s) and/or cops in the specified departments. */],
"except": [/* array: Run all cops enabled by configuration except the specified cop(s) and/or departments. */],
"forceExclusion": true, //Add --force-exclusion option
"require": [/* array: Require Ruby files. */],
"rails": true //Run extra rails cops
},
"ruby.lint": {
"rubocop": true
},
"[ruby]": {
"editor.formatOnSave": true
},
"ruby.format": "rubocop",
"editor.formatOnSaveTimeout": 1500,
"editor.tabSize": 2,
"editor.fontSize": 13,
"editor.fontFamily": "FiraCode-Retina",
"editor.fontLigatures": true,
"workbench.iconTheme": "material-icon-theme",
"workbench.colorTheme": "Material Theme Darker High Contrast",
"git.autofetch": true,
"window.zoomLevel": 0,
"explorer.confirmDragAndDrop": false,
"terminal.integrated.rendererType": "dom",
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment