Commit graph

121 commits

Author SHA1 Message Date
gregoirenovel
d6ad3fc3fd Bump development gems
- brakeman
- rubocop
- scss_lint
2018-03-06 10:36:35 +01:00
Mathieu Magnin
0c6aa42f55 [Fix #1454] Send weekly overview emails async, overview param is not correctly serialized by activejob so it is computed again when email is send 2018-02-21 18:22:56 +01:00
gregoirenovel
813844f9db Enable the Layout/TrailingWhitespace cop 2018-01-18 10:55:08 +01:00
gregoirenovel
2df14691e7 Enable the Layout/TrailingBlankLines cop 2018-01-18 10:53:35 +01:00
gregoirenovel
6428aa023d Enable the Layout/Tab cop 2018-01-18 10:53:35 +01:00
gregoirenovel
75868ff84b Enable the Layout/SpaceInsideStringInterpolation cop 2018-01-18 10:53:35 +01:00
gregoirenovel
a98ec10b90 Enable the Layout/SpaceInsideRangeLiteral cop 2018-01-18 10:53:35 +01:00
gregoirenovel
89a75240b0 Layout/SpaceInsidePercentLiteralDelimiters 2018-01-18 10:53:35 +01:00
gregoirenovel
d30ea70c08 Enable the Layout/SpaceInsideParens cop 2018-01-18 10:53:35 +01:00
gregoirenovel
b138dcd876 Enable the Layout/SpaceInsideHashLiteralBraces cop 2018-01-18 10:53:35 +01:00
gregoirenovel
02ade68b38 Enable the Layout/SpaceInsideBrackets cop 2018-01-18 10:53:34 +01:00
gregoirenovel
897a30da0c Enable the Layout/SpaceInsideBlockBraces cop 2018-01-18 10:53:34 +01:00
gregoirenovel
ff87d0e65f Enable the Layout/SpaceInsideArrayPercentLiteral cop 2018-01-18 10:53:34 +01:00
gregoirenovel
9ea1106503 Enable the Layout/SpaceInLambdaLiteral cop 2018-01-18 10:53:34 +01:00
gregoirenovel
05b1fd96fd Enable the Layout/SpaceBeforeSemicolon cop 2018-01-18 10:53:34 +01:00
gregoirenovel
4bfa9b18c5 Enable the Layout/SpaceBeforeFirstArg cop 2018-01-18 10:53:34 +01:00
gregoirenovel
836edf616d Enable the Layout/SpaceBeforeComment cop 2018-01-18 10:53:34 +01:00
gregoirenovel
3e93bd3615 Enable the Layout/SpaceBeforeComma cop 2018-01-18 10:53:34 +01:00
gregoirenovel
2814fcf27e Enable the Layout/SpaceAroundKeyword cop 2018-01-18 10:53:34 +01:00
gregoirenovel
245c04d2bb Enable the Layout/SpaceAroundEqualsInParameterDefault cop 2018-01-18 10:53:34 +01:00
gregoirenovel
b9aa71ed3b Enable the Layout/SpaceAroundBlockParameters cop 2018-01-18 10:53:34 +01:00
gregoirenovel
0572d66efd Enable the Layout/SpaceAfterSemicolon cop 2018-01-18 10:53:34 +01:00
gregoirenovel
359a9a863b Enable the Layout/SpaceAfterNot cop 2018-01-18 10:53:34 +01:00
gregoirenovel
c28626bb18 Enable the Layout/SpaceAfterMethodName cop 2018-01-18 10:53:34 +01:00
gregoirenovel
f605cd35ac Enable the Layout/SpaceAfterColon cop 2018-01-18 10:53:34 +01:00
gregoirenovel
48fd3605a4 Bump rubocop 2018-01-18 10:47:11 +01:00
gregoirenovel
d5f55cb360 Set the RunRailsCops option in the rubocop config
Instead of relying on a flag
2018-01-16 20:04:54 +01:00
gregoirenovel
727c40ad35 Enable the Layout/RescueEnsureAlignment cop 2018-01-15 22:33:14 +01:00
gregoirenovel
084ee98ab2 Enable the Layout/MultilineMethodDefinitionBraceLayout cop 2018-01-15 22:33:14 +01:00
gregoirenovel
73dd58b6cd Enable the Layout/MultilineMethodCallIndentation cop 2018-01-15 22:33:13 +01:00
gregoirenovel
b77837bfd1 Enable the Layout/MultilineMethodCallBraceLayout cop 2018-01-15 22:33:13 +01:00
gregoirenovel
5077e654f2 Enable the Layout/MultilineHashBraceLayout cop 2018-01-15 22:33:13 +01:00
gregoirenovel
9d75526460 Enable the Layout/MultilineAssignmentLayout cop 2018-01-15 22:33:13 +01:00
gregoirenovel
14c1747645 Enable the Layout/MultilineArrayBraceLayout cop 2018-01-15 22:33:13 +01:00
gregoirenovel
345b892956 Enable the Layout/LeadingCommentSpace cop 2018-01-15 22:33:13 +01:00
gregoirenovel
19ee24d559 Enable the Layout/InitialIndentation cop 2018-01-15 22:33:13 +01:00
gregoirenovel
1e71188d4d Enable the Layout/IndentationConsistency cop 2018-01-15 22:33:13 +01:00
gregoirenovel
99a49a8144 Enable the Layout/IndentHeredoc cop 2018-01-15 22:33:13 +01:00
gregoirenovel
0be657c0d7 Enable the Layout/IndentHash cop 2018-01-15 22:33:12 +01:00
gregoirenovel
3363e21427 Enable the Layout/IndentAssignment cop 2018-01-15 22:33:12 +01:00
gregoirenovel
9e0e553f80 Enable the Layout/IndentArray cop 2018-01-15 22:33:12 +01:00
gregoirenovel
5125cf8396 Enable the Layout/FirstParameterIndentation cop 2018-01-15 22:14:39 +01:00
gregoirenovel
9f855afdfe Enable the Layout/FirstHashElementLineBreak cop 2018-01-15 22:14:38 +01:00
gregoirenovel
08ed400ec2 Enable the Layout/FirstArrayElementLineBreak cop 2018-01-15 22:14:38 +01:00
gregoirenovel
22e58a5346 Detect code that could use #present? with rubocop 2018-01-15 09:45:31 +01:00
gregoirenovel
3dd03a04cd Detect unless/else patterns with rubocop 2018-01-12 11:32:43 +01:00
Frederic Merizen
6d223aee06 Make Rubocop check for focused specs 2017-12-22 17:05:57 +01:00
gregoirenovel
379e7b74d6 Enable all the rubicop perf cops 2017-11-21 10:31:16 +01:00
Simon Lehericey
a7b00ee847 Rubocop: enable Layout/SpaceAroundOperators 2017-08-28 13:39:13 +02:00
Simon Lehericey
62f1b9c712 Rubocop: enable indentation width rule 2017-08-28 12:20:58 +02:00
Simon Lehericey
c68b4e9cf6 [Fix #592] Rubocop: add rule to forbid html_safe 2017-07-13 10:14:16 +02:00
gregoirenovel
fc9f5f8be6 Don’t run rubocop on db/schema.rb 2017-06-13 11:29:02 +02:00
gregoirenovel
d248afc376 Enable the Layout/ExtraSpacing cop 2017-06-13 10:35:35 +02:00
gregoirenovel
f1d66e40c3 Enable the Layout/EmptyLinesAroundModuleBody cop 2017-06-13 10:35:34 +02:00
gregoirenovel
82eb66cfe8 Enable the Layout/EmptyLinesAroundMethodBody cop 2017-06-13 10:35:33 +02:00
gregoirenovel
24e7537c49 Enable the Layout/EmptyLinesAroundClassBody cop 2017-06-13 10:35:32 +02:00
gregoirenovel
f1907f4d0e Enable the Layout/EmptyLinesAroundBlockBody cop 2017-06-13 10:35:23 +02:00
gregoirenovel
aac75106ef Enable the Layout/EmptyLinesAroundAccessModifier cop 2017-06-13 10:35:21 +02:00
gregoirenovel
f496f1adab Enable the Layout/EmptyLines cop 2017-06-13 10:35:20 +02:00
gregoirenovel
ff1f679c7b Enable the Layout/EmptyLineBetweenDefs cop 2017-06-13 10:35:20 +02:00
gregoirenovel
a62d5322b6 Enable the Layout/DotPosition cop 2017-06-13 10:35:19 +02:00
gregoirenovel
f2cf32a15c Enable the Layout/CommentIndentation cop 2017-06-13 10:35:19 +02:00
gregoirenovel
1b78a8e957 Enable the Layout/CaseIndentation cop 2017-06-13 10:35:19 +02:00
gregoirenovel
bc16027ccc Enable the Layout/BlockEndNewline cop 2017-06-13 10:35:19 +02:00
gregoirenovel
9439e1abb1 Enable the Layout/AlignParameters cop 2017-06-13 10:35:16 +02:00
gregoirenovel
50fad54538 Enable the Layout/AlignArray cop 2017-06-13 10:35:15 +02:00
gregoirenovel
75e995f721 Enable several rubocop cops 2017-06-13 10:35:15 +02:00
gregoirenovel
cf125e9514 Add to the rubocop config a comprehensive list of cops 2017-06-13 10:35:15 +02:00
gregoirenovel
4e0d0100a2 rubocop.yml -> .rubocop.yml 2017-06-13 10:35:15 +02:00
gregoirenovel
f393b96dea Remove rubocop for now 2017-03-22 11:07:48 +01:00
Tanguy PATTE
d455cbbb07 add rubocop config file 2015-08-20 16:11:50 +02:00