Commit Graph

15 Commits

Author SHA1 Message Date
Jared Beck 3b73566ef7 Lint: We will not fix Style/ModuleFunction
[ci skip]
2016-04-08 18:16:37 -04:00
Paul Padier bd98129a5b Exclude migration file from Metrics/AbcSize check 2016-04-05 13:03:08 +09:00
Jared Beck 38c4193b4a Lint: Disable Metrics/MethodLength
The number of lines in a method is not a useful metric compared to `AbcSize`.
It's common to have very long methods (> 50 lines) which are quite simple. For
example, a method that returns a long string with only a few interpolations.

[ci skip]
2016-04-01 12:33:22 -04:00
Paul Padier a0b735af61 Only exclude test/ from Metrics/ClassLength check 2016-04-01 11:22:08 -04:00
Jared Beck b14e7719aa Extract private method: reify_associations 2016-03-13 19:27:31 -04:00
Jared Beck 6e2fd6130e Fix indentation in conditionals 2016-03-05 17:30:53 -05:00
Jared Beck b8c9663e33 Configure Style/PredicateName 2016-03-05 17:21:36 -05:00
Jared Beck 8980f08d0e Fix Style/StringLiterals: Use double quotes 2016-03-05 17:07:32 -05:00
Jared Beck ee0b7a6709 Lint: Permit double negation
[ci skip]
2016-02-21 23:12:09 -05:00
Jared Beck 0d7e33eb2e Break long lines in `test` dir 2016-02-15 18:13:45 -05:00
Jared Beck ddf7f45ff4 rubocop 0.37.2 (was 0.35.1) 2016-02-15 16:50:25 -05:00
Jared Beck c97eb17045 Lint: Disable Style/BlockDelimiters 2016-01-18 14:28:12 -05:00
Jared Beck 3a72b7f7c7 Code style: Break long lines 2015-12-13 00:01:40 -05:00
Jared Beck cbce4d361f Run rubocop linter before test suite
Most of the "cops" are wholly or partially disabled at this point.
As offenses are fixed, cops will move from `.rubocop_todo.yml` to
`.rubocop.yml`.

See
https://github.com/bbatsov/rubocop#automatically-generated-configuration
for details.
2015-11-27 21:25:41 -05:00
Jared Beck 7d8775feae Install rubocop 2015-11-01 23:56:15 -05:00