Chaitanya
4b72d383ea
Fix Travis-Ci errors
...
Rubocop offenses lead to failure of Travis-ci build. Offensive files are added as exclude files of respective offense in rubocop_todo.yml
2017-05-13 17:49:17 +03:00
Agrim Mittal
aaeca108a8
Add missed offenses to rubocop_todo
...
A known rubocop bug, solved by adding files manually
Closes #1450
2017-04-21 21:36:39 +05:30
Agrim Mittal
7a10d69f14
regenerate rubocop_todo
...
Automatically generated using --auto-gen-config
2017-04-21 21:36:21 +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
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
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
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
Stella
ccd7ecbb90
Roles into their own controller. Rework interface. Add flash messages to ajax calls. Add description to roles. Possible to edit roles in use.
2016-03-01 17:10:45 +02:00
Henne Vogelsang
ed0f55c45f
Fix remaining rubocop problems
2016-02-18 14:40:24 +01:00
Henne Vogelsang
046f726414
rubocop: Update todo file, enable rails cops
2016-02-08 14:57:23 +01:00
Stella Rouzi
f91467a00a
remove trailing spaces and blank lines
2014-09-02 21:41:25 +03:00
Stella Rouzi
1c1391c69e
enable style ClassAndModuleChildren
2014-08-06 21:26:08 +03:00
Artem Chernikov
eb127b4f8c
Add new styles to be checked
2014-07-30 23:43:00 +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
bce659a5d9
Move Accessor names to todo
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