Created
November 19, 2019 23:41
-
-
Save johnmeehan/a3512fe194f77f990095b62e424ae222 to your computer and use it in GitHub Desktop.
Vscode settings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"workbench.colorTheme": "Monokai", | |
"workbench.iconTheme": "city-lights-icons-vsc-light", | |
// Basic settings: turn linter(s) on | |
"ruby.lint": { | |
"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": true, //Runs ruby -wc | |
}, | |
// Time (ms) to wait after keypress before running enabled linters. Ensures | |
// linters are only run when typing has finished and not for every keypress | |
"ruby.lintDebounceTime": 500, | |
"[ruby]": { | |
"editor.formatOnSave": true | |
}, | |
"ruby.format": "rubocop", | |
"editor.formatOnSaveTimeout": 1500, | |
"editor.tabSize": 2, | |
"editor.detectIndentation": false, | |
"emmet.triggerExpansionOnTab": true, | |
"emmet.includeLanguages": {"erb": "html"}, | |
"files.associations": { "*.erb": "erb" } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment