Commit graph

40 commits

Author SHA1 Message Date
Siddhant Bajaj
dc865abaaa Excluded conference_spec from block cop
Fixes #1333
2017-04-25 18:00:24 +05:30
Sunny
0564d2df7a add performance/stringreplacement rubocop cop
Enabled the performance/stringreplacement rubocop in the .rubocop.yml file and removed it from .rubocop_todo.yml. This cop checks for instances where gsub can be replaced with tr or delete. Supports auto correct, but there weren't any offenses.

Closes #1444
2017-04-13 21:20:35 -04:00
Ana María Martínez Gómez
46a6a59622 Merge pull request #1430 from codyborders/master
Adds Style/Tab cop to rubocop.yml
2017-04-07 18:50:22 +02:00
Ana María Martínez Gómez
fd6d0bf39b Merge pull request #1446 from sunny-b/master
Enable Style/DotPosition Rubocop cop
2017-04-07 11:21:34 +02:00
Sunny
03fa299058 enable style/dotposition rubocop cop 2017-04-06 23:19:58 -04:00
Cody Borders
535b3f86d6 Fixes Style/Tab cops
Removes exclusions for Style/Tab cops in rubocop_todo
Places Style/Tab cop in appropriate alphabetical order
All cops now fixed.
2017-04-06 10:57:44 -06:00
Christian Bruckmayer
5f74360da8 Merge pull request #1441 from neilhalligan/rubocop-edit
Add Lint/DuplicatedKey to rubocop
2017-04-06 09:34:41 +02:00
Neil Halligan
c74e914683 Add Lint/DuplicatedKey to rubocop
Fixes openSUSE/osem#1437
2017-04-05 17:33:14 +01:00
Ana María Martínez Gómez
d1bf19867c Merge pull request #1421 from sunny-b/master
Enable Style/NegatedIf Cop and Fix Alphabetical Ordering
2017-03-30 10:30:55 +02:00
Iris Sprague
29650beddb enable negatedif and correct db file
fix spacing
2017-03-29 11:24:43 -04:00
Emanuel Hayford
e5587d42a2 Enable Rails/Validation Rubocop cop
Cop checks for the use of old-style attribute validation. Supports autocorrection which was run
to fix the files concerned

Closes #1414
2017-03-28 21:47:31 +02:00
Chaitanya
782937b1d9 Enable Style/ZeroLengthPredicate Rubocop cop
This cop checks for numeric comparisons that can be replaced by a predicate method. It supports autocorrection, so all the offenses where automatically solved.

Closes #1416
2017-03-28 14:42:21 +05:30
Chaitanya
4427f43bdf Enable Style/RedundantSelf Rubocop cop
This cop checks for redundant uses of self. It supports autocorrection, so all the offenses where automatically solved.

Closes #1373
2017-03-28 13:27:52 +05:30
Emanuel Hayford
50b2153754 Group related cops together
This groups related cops in rubocop configuration file together and
arranges them in an alphabetical order

Close #1385
2017-03-24 20:13:02 +01:00
Chaitanya
7de009e46e Enable Style/DoubleNegation Rubocop cop
This cop checks for uses of double negation (!!) to convert something to a boolean value. It doesn't support autocorrection, so all the offenses where manually solved.

Closes #1374
2017-03-20 19:12:40 +05:30
Ana María Martínez Gómez
ebb5203887 Exclude conference model from ClassLength cop
Exclude conference.rb file from ClassLength Rubocop cop and decrease the
max value of this cop to 300, as the following class in number of lines is
event.rb with 218.

Also, remove unused comments from Conference model class.
2017-02-22 17:08:51 +01:00
gotens1211
4a9c971ec7 Enable Style/SpaceAroundOperators Rubocop
Cleared all the offenses for Style/SpaceAroundOperators

Added a description for the Style/SpaceAroundOperators Rubocop.
2017-02-05 19:43:00 +05:30
Ana
1559b29d2d Rubocop class length increased
Rubocop class length increased in 5 lines as app/models/conference.rb had too many lines.
2016-07-25 11:33:30 +02:00
Ana
2e73c3f67b Rubocop class length increased 2016-07-11 13:46:02 +02:00
Ana
1f7c903f2f 10 extra lines added to Rubocop ClassLength 2016-06-30 10:17:44 +02:00
Henne Vogelsang
ed0f55c45f Fix remaining rubocop problems 2016-02-18 14:40:24 +01:00
Henne Vogelsang
e2fb83146a Merge pull request #768 from hennevogel/rubocop
Update rubocop todo file
2016-02-18 14:08:04 +01:00
Aditya Prakash
67ac6f0d65 Update spring-commands-rspec and springify bin/rspec 2016-02-16 21:46:33 +05:30
Henne Vogelsang
046f726414 rubocop: Update todo file, enable rails cops 2016-02-08 14:57:23 +01:00
Stella Rouzi
da061b3902 exclude config/ from rubocop styling, more style fixes 2014-09-02 21:45:07 +03:00
Stella Rouzi
b7c45718d8 apply StringLiterals cop (remove double quotes, unless there is string interpolation) 2014-09-02 21:45:07 +03:00
Stella Rouzi
f91467a00a remove trailing spaces and blank lines 2014-09-02 21:41:25 +03:00
Artem Chernikov
eb127b4f8c Add new styles to be checked 2014-07-30 23:43:00 +02:00
Artem Chernikov
6e7e0c2cd3 Style/BracesAroundHashParameters enabled 2014-07-30 23:37:50 +02:00
Artem Chernikov
99f773a040 Style/Blocks Style/BlockNesting cops enabled 2014-07-30 23:36:32 +02:00
Artem Chernikov
4aa1f0bf3a rubocop Style/AndOr style enabled 2014-07-30 23:34:09 +02:00
Artem Chernikov
f8784fdcd8 rubocop style fix Style/AlignParameters 2014-07-30 23:32:29 +02:00
Artem Chernikov
cb810e58ce Style/AlignHash fix 2014-07-30 23:29:52 +02:00
Artem Chernikov
949ce14fca Update travis and rubocop to work together 2014-07-21 15:57:54 +02:00
Artem Chernikov
98e9dec252 Fix travis rubocop 2014-07-21 15:23:10 +02:00
Artem Chernikov
5289f41eb5 Use only new hash syntax 2014-07-21 15:05:58 +02:00
Artem Chernikov
3901973fd6 Do not use variables in void context 2014-07-21 15:05:58 +02:00
Artem Chernikov
056fe5ec3f Fix others additional lints 2014-07-21 15:05:58 +02:00
Artem Chernikov
763f864dc9 Fix basic style issues with rubocop 2014-07-21 15:05:58 +02:00
Artem Chernikov
f4a22851a1 Update rubocop and add basic checks 2014-07-21 15:05:58 +02:00