This repository was archived by the owner on Sep 20, 2023. It is now read-only.
-
Couldn't load subscription status.
- Fork 1.1k
(v3.6.0) Ruby: rubocop
LCD 47 edited this page Jan 19, 2015
·
1 revision
Maintainer: Recai Oktaş [email protected]
Rubocop is a style checker for Ruby. See the project's page for details.
- Most issues returned by rubocop are warnings, so for best results
your
g:syntastic_quiet_messagesshould not filter out warnings. - Only rubocop versions 0.12.0 and later are supported.
- Running rubocop under development versions of
rubyis not supported. - If the rubocop checker is not getting enabled by Syntastic, try
running
rubocop --versionfrom the shell and take note of any warnings. Here is an example from a system using rbenv to switch between different versions of Ruby:
$ rbenv version
2.1.3 (set by /usr/local/var/rbenv/version)
$ rubocop --version
warning: parser/current is loading parser/ruby21, which recognizes
warning: 2.1.2-compliant syntax, but you are running 2.1.3.
0.26.1
$ rbenv shell 2.1.2
$ rubocop --version
0.26.1