summaryrefslogtreecommitdiff
path: root/.rubocop_todo.yml
Commit message (Collapse)AuthorAgeFilesLines
* Bump rubocop to 0.49.1 and rubocop-rspec to 1.15.1Takuya Noguchi2017-08-011-112/+113
|
* Disable RSpec/BeforeAfterAll and enable RSpec/ImplicitExpect copsenable-a-few-rubocop-rspec-copsRémy Coutable2017-06-301-10/+0
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Enable Style/DotPosition Rubocop :cop:Grzegorz Bizon2017-06-211-7/+0
|
* Enable the Style/PreferredHashMethods coprc/enable-PreferredHashMethods-copRémy Coutable2017-06-021-7/+0
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Merge branch 'rubocop-empty-example-group' into 'master'Robert Speicher2017-05-181-5/+0
|\ | | | | | | | | Enable the RSpec/EmptyExampleGroup cop See merge request !11497
| * Enable the RSpec/EmptyExampleGroup coprubocop-empty-example-groupRémy Coutable2017-05-181-5/+0
| | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Enable the RSpec/ExpectOutput coprubocop-expect-outputRémy Coutable2017-05-181-4/+0
|/ | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Enable the Style/TrailingCommaInArguments copRémy Coutable2017-05-101-7/+0
| | | | | | Use the EnforcedStyleForMultiline: no_comma option. Signed-off-by: Rémy Coutable <remy@rymai.me>
* Enable RSpec/DescribeSymbol; update .rubocop_todo.ymlRobert Speicher2017-04-071-50/+76
|
* Enable Style/Proc cop for rubocopmhasbini2017-04-021-5/+0
|
* Revert "Enable Style/DotPosition"Douwe Maan2017-02-231-1/+8
| | | | | | | | | | | | | | | This reverts commit e00fb2bdc2090e9cabeb1eb35a2672a882cc96e9. # Conflicts: # .rubocop.yml # .rubocop_todo.yml # lib/gitlab/ci/config/entry/global.rb # lib/gitlab/ci/config/entry/jobs.rb # spec/lib/gitlab/ci/config/entry/factory_spec.rb # spec/lib/gitlab/ci/config/entry/global_spec.rb # spec/lib/gitlab/ci/config/entry/job_spec.rb # spec/lib/gitlab/ci/status/build/factory_spec.rb # spec/lib/gitlab/incoming_email_spec.rb
* Revert "Enable Style/BarePercentLiterals"Douwe Maan2017-02-231-0/+7
| | | | This reverts commit 96bef54154e669f9a3e92c3a4bc76c0be3a52e48.
* Update rubocop and rubocop-rspec and regenerate .rubocop_todo.ymlDouwe Maan2017-02-231-5/+1
|
* Update rubocop and rubocop-rspec and regenerate .rubocop_todo.ymlDouwe Maan2017-02-231-46/+65
|
* Regenerate .rubocop_todo.ymlDouwe Maan2017-02-231-276/+61
|
* Enable Style/ConditionalAssignmentDouwe Maan2017-02-231-7/+0
|
* Enable Style/ColonMethodCallDouwe Maan2017-02-231-5/+0
|
* Disable Style/BracesAroundHashParametersDouwe Maan2017-02-231-7/+0
|
* Enable Style/BarePercentLiteralsDouwe Maan2017-02-231-7/+0
|
* Enable Security/JSONLoadDouwe Maan2017-02-231-12/+0
|
* Enable Rails/ValidationDouwe Maan2017-02-231-17/+0
|
* Disable Rails/DynamicFindByDouwe Maan2017-02-231-7/+0
|
* Enable Performance/RedundantMatchDouwe Maan2017-02-231-10/+0
|
* Enable Performance/RedundantBlockCallDouwe Maan2017-02-231-8/+0
|
* Disable Lint/UnneededSplatExpansionDouwe Maan2017-02-231-17/+0
|
* Enable Lint/UnifiedIntegerDouwe Maan2017-02-231-10/+0
|
* Enable Performance/RedundantMergeDouwe Maan2017-02-231-6/+0
|
* Disable some more copsDouwe Maan2017-02-231-104/+0
|
* Disable a few RSpec copsDouwe Maan2017-02-231-63/+0
|
* Disable Lint/UnusedMethodArgumentDouwe Maan2017-02-231-6/+0
|
* Disable Style/TrailingCommaInLiteralDouwe Maan2017-02-231-7/+0
|
* Enable Style/SpaceInsideBracketsDouwe Maan2017-02-231-5/+0
|
* Enable Style/MutableConstantDouwe Maan2017-02-231-5/+0
|
* Enable Style/DotPositionDouwe Maan2017-02-231-7/+0
|
* Update .rubocop_todo.ymlDouwe Maan2017-02-231-128/+445
|
* No more and/orDouwe Maan2017-02-211-7/+0
|
* Enable `Lint/EmptyWhen` cop and correct offenseRobert Speicher2017-02-131-4/+0
|
* Enable `Style/RedundantException` cop and correct offenseRobert Speicher2017-02-101-5/+0
|
* Enable the `RSpec/ExpectActual` cop and correct offensesRobert Speicher2017-02-101-4/+0
|
* Explicitly disable the RSpec/BeEql copRobert Speicher2017-02-101-4/+0
| | | | This is a little too picky, even for us.
* Disable all cops in .rubocop_todo.ymlrubocop-todoSean McGivern2017-01-171-2/+2
| | | | | | Cops with a max level are auto-generated with that set to the current maximum, even when they're supposed to be ignored. For now, the best option is to manually disable them.
* Fix Rubocop YAML config files to avoid CE->EE issuesGrzegorz Bizon2017-01-111-406/+85
|
* Update rubocop and rubocop-rspec to fix build errorsupdate-rubocopBrian Neel2017-01-061-134/+521
|
* Update RuboCop to 0.43.0 and update configurationrs-update-rubocopRobert Speicher2016-10-041-51/+120
| | | | | `Style/VariableNumber` is explicitly disabled because I don't think we care if we name a variable `var_1` or `var1`.
* Enable Lint/StringConversionInInterpolation cop and autocorrect offensesrs-string-conversion-in-interpolationRobert Speicher2016-10-031-5/+0
|
* Regenerate .rubocop_todo.yml based on rubocop 0.42.0Robert Speicher2016-09-141-53/+72
|
* Enable Style/SpaceAroundEqualsInParameterDefault coprubocop/SpaceAroundEqualsInParameterDefaultGabriel Mazetto2016-08-061-7/+0
|
* Merge branch 'rubocop/enable-access-modifiers-cops' into 'master' Robert Speicher2016-07-291-8/+0
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable Rubocop cops that check access modifiers ## What does this MR do? This MR enables Rubocop cops that detect methods that should be restricted but are the part of public API because of access modifiers used improperly. This also fixes existing offenses. ## Why was this MR needed? Some method in our codebase are public instead of being private because it is sometimes difficult to get it right without static analysis. ## What are the relevant issue numbers? See #17478 Closes #17372 See merge request !5014
| * Enable Rubocop cops for invalid access modifiersrubocop/enable-access-modifiers-copsGrzegorz Bizon2016-07-191-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This enables following cops: Check for useless access modifiers Lint/UselessAccessModifier Checks for attempts to use `private` or `protected` to set the visibility of a class method, which does not work. Lint/IneffectiveAccessModifier This also disables two false possitives in concerns.
* | Enable Style/MultilineTernaryOperator rubocop coprubocop/enable-multiline-ternary-operator-copGrzegorz Bizon2016-07-201-4/+0
|/ | | | | | Avoid multi-line ?: (the ternary operator). Use if/unless instead. See #17478