Skip to content

Instantly share code, notes, and snippets.

@vterdunov
Last active April 3, 2016 08:47
Show Gist options
  • Save vterdunov/4c35ef83f5dd8bddb6e5 to your computer and use it in GitHub Desktop.
Save vterdunov/4c35ef83f5dd8bddb6e5 to your computer and use it in GitHub Desktop.
By default, the linter plugin looks for a config file called .rubocop.yml in the current directory and its parents. To override the config file path, you would add this to the linter settings:
---
Rails:
Enabled: true
Style/AsciiComments:
Enabled: false
Metrics/LineLength:
Max: 120
Metrics/ClassLength:
Max: 120
Documentation:
Enabled: false
"rubocop": {
"args": ["--config", "path/to/rubocop.yml"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment