Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jameswritescode/5218080f353566efe0fcdbdbf3dc18d0 to your computer and use it in GitHub Desktop.
Save jameswritescode/5218080f353566efe0fcdbdbf3dc18d0 to your computer and use it in GitHub Desktop.
"diagnostic-languageserver.linters": {
"rubocop": {
"args": [
"--format",
"quiet",
"--no-color",
"--force-exclusion",
"--stdin",
"%filename"
],
"command": "rubocop",
"debounce": 100,
"formatLines": 1,
"formatPattern": [
"^(\\w):(?:\\s+)?(\\d+):(?:\\s+)?(\\d+):\\s(.*)$",
{
"column": 3,
"line": 2,
"message": 4,
"security": 1
}
],
"offsetColumn": 0,
"offsetLine": 0,
"securities": {
"C": "warning",
"E": "error",
"F": "error",
"R": "warning",
"W": "warning"
},
"sourceName": "rubocop"
}
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment