Commit Graph

32 Commits

Author SHA1 Message Date
Go MAEDA
4471399e33 Update RuboCop to 0.77 (#32530).
git-svn-id: http://svn.redmine.org/redmine/trunk@19320 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-29 07:36:15 +00:00
Toshi MARUYAMA
f20e125bc1 rubocop: disable Style/TrailingCommaInHashLiteral
git-svn-id: http://svn.redmine.org/redmine/trunk@19109 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-20 17:12:40 +00:00
Toshi MARUYAMA
8db904c401 rubocop: use "EnforcedStyle: empty" for Style/EmptyElse
git-svn-id: http://svn.redmine.org/redmine/trunk@19108 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-20 17:05:35 +00:00
Toshi MARUYAMA
58a2c91218 rubocop: remove Style/AsciiComments comment
git-svn-id: http://svn.redmine.org/redmine/trunk@19107 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-20 17:05:24 +00:00
Toshi MARUYAMA
33df60a6fa rubocop: move Layout/CaseIndentation exclude entry from .rubocop_todo.yml to .rubocop.yml
git-svn-id: http://svn.redmine.org/redmine/trunk@19106 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-20 17:05:13 +00:00
Toshi MARUYAMA
e7121752c2 rubocop: enable Layout/AlignArguments
git-svn-id: http://svn.redmine.org/redmine/trunk@19058 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-09 18:17:25 +00:00
Toshi MARUYAMA
6f293870eb rubocop: revert r18852
git-svn-id: http://svn.redmine.org/redmine/trunk@18867 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-26 12:53:48 +00:00
Toshi MARUYAMA
f4b45f9074 rubocop: set Layout/SpaceInsideHashLiteralBraces parameters used more than others
git-svn-id: http://svn.redmine.org/redmine/trunk@18857 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-23 13:31:59 +00:00
Toshi MARUYAMA
136130d3f0 rubocop: set Layout/SpaceBeforeBlockBraces parameters used more than others
git-svn-id: http://svn.redmine.org/redmine/trunk@18852 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-23 06:44:43 +00:00
Toshi MARUYAMA
b94294f6b5 rubocop: set Layout/SpaceInsideBlockBraces parameters used more than others
git-svn-id: http://svn.redmine.org/redmine/trunk@18851 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-23 06:44:31 +00:00
Toshi MARUYAMA
082f1eed51 rubocop: move Layout/AlignArguments temporarily from .rubocop_todo.yml to .rubocop.yml
git-svn-id: http://svn.redmine.org/redmine/trunk@18850 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-23 06:44:20 +00:00
Toshi MARUYAMA
5ac6c987b3 rubocop: disable Bundler/OrderedGems
git-svn-id: http://svn.redmine.org/redmine/trunk@18845 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-23 04:57:44 +00:00
Toshi MARUYAMA
b0b03c97c5 rubocop: enable Lint/IneffectiveAccessModifier
git-svn-id: http://svn.redmine.org/redmine/trunk@18775 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-19 13:32:48 +00:00
Toshi MARUYAMA
230abc1cef rubocop: disable Style/TrailingCommaInArrayLiteral
git-svn-id: http://svn.redmine.org/redmine/trunk@18689 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-16 13:00:29 +00:00
Toshi MARUYAMA
7870dd73a9 rubocop: add db/schema.rb to global exclude
git-svn-id: http://svn.redmine.org/redmine/trunk@18688 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-16 13:00:18 +00:00
Toshi MARUYAMA
5e6032fecb rubocop: move Style/IdenticalConditionalBranches files from .rubocop_todo.yml to .rubocop.yml
git-svn-id: http://svn.redmine.org/redmine/trunk@18687 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-15 17:25:53 +00:00
Toshi MARUYAMA
36e0d3273d rubocop: use AllowAdjacentOneLineDefs of Layout/EmptyLineBetweenDefs
git-svn-id: http://svn.redmine.org/redmine/trunk@18672 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-14 18:57:13 +00:00
Toshi MARUYAMA
203c30dad1 rubocop: add Style/AsciiComments to .rubocop_todo.yml
git-svn-id: http://svn.redmine.org/redmine/trunk@18632 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-09 02:05:49 +00:00
Go MAEDA
df1c54146f RuboCop: Disable Layout/SpaceInsideHashLiteralBraces
git-svn-id: http://svn.redmine.org/redmine/trunk@18583 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-03 00:08:02 +00:00
Go MAEDA
cd7a5c2f2f Update RuboCop to 0.75.0 (#31509).
git-svn-id: http://svn.redmine.org/redmine/trunk@18576 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-01 03:18:39 +00:00
Toshi MARUYAMA
2dab26cef1 rubocop: disable Naming/AccessorMethodName
git-svn-id: http://svn.redmine.org/redmine/trunk@18526 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-25 04:35:40 +00:00
Toshi MARUYAMA
6c7794d300 rubocop: disable Lint/IneffectiveAccessModifier
git-svn-id: http://svn.redmine.org/redmine/trunk@18525 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-25 04:35:29 +00:00
Toshi MARUYAMA
fe78039aea rubocop: disable Naming/BinaryOperatorParameterName
git-svn-id: http://svn.redmine.org/redmine/trunk@18501 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-21 14:11:19 +00:00
Toshi MARUYAMA
53aae425ba rubocop: disable Rails/HelperInstanceVariable
git-svn-id: http://svn.redmine.org/redmine/trunk@18500 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-21 14:11:07 +00:00
Toshi MARUYAMA
452376ae65 rubocop: disable Naming/PredicateName
git-svn-id: http://svn.redmine.org/redmine/trunk@18461 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-13 02:25:23 +00:00
Toshi MARUYAMA
c73884aee2 rubocop: use Lint/HandleExceptions AllowComments true
git-svn-id: http://svn.redmine.org/redmine/trunk@18457 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-12 16:23:31 +00:00
Go MAEDA
0898910b10 RuboCop: Disable Layout/SpaceInsideBlockBraces
git-svn-id: http://svn.redmine.org/redmine/trunk@18393 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-25 15:33:53 +00:00
Go MAEDA
a1d454a1b1 Add rubocop-performance (#31509).
git-svn-id: http://svn.redmine.org/redmine/trunk@18378 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-18 14:40:47 +00:00
Toshi MARUYAMA
3d357bcd84 rubocop: use Layout/TrailingWhitespace AllowInHeredoc true
git-svn-id: http://svn.redmine.org/redmine/trunk@18342 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-03 07:50:03 +00:00
Go MAEDA
bd6cfb17d6 Update RuboCop to 0.72.0 (#31509).
git-svn-id: http://svn.redmine.org/redmine/trunk@18320 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-26 23:37:09 +00:00
Go MAEDA
78722ed6c7 RuboCop: Disable Metrics
git-svn-id: http://svn.redmine.org/redmine/trunk@18292 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-20 13:20:02 +00:00
Go MAEDA
8baddf11bc Add RuboCop to enforce some styles (#31509).
Patch by Marius BALTEANU and Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18259 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-19 00:49:28 +00:00