Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-02-23Enable Style/ConditionalAssignmentDouwe Maan
2017-02-23Enable Style/ColonMethodCallDouwe Maan
2017-02-23Disable Style/BracesAroundHashParametersDouwe Maan
2017-02-23Enable Style/BarePercentLiteralsDouwe Maan
2017-02-23Enable Security/JSONLoadDouwe Maan
2017-02-23Enable Rails/ValidationDouwe Maan
2017-02-23Disable Rails/OutputSafetyDouwe Maan
2017-02-23Disable Rails/DynamicFindByDouwe Maan
2017-02-23Enable Performance/RedundantMatchDouwe Maan
2017-02-23Enable Performance/RedundantBlockCallDouwe Maan
2017-02-23Disable Lint/UnneededSplatExpansionDouwe Maan
2017-02-23Enable Lint/UnifiedIntegerDouwe Maan
2017-02-23Enable Performance/RedundantMergeDouwe Maan
2017-02-23Disable some more copsDouwe Maan
2017-02-23Disable a few RSpec copsDouwe Maan
2017-02-23Custom cops don’t need to be mentioned in .rubocop.ymlDouwe Maan
2017-02-23Disable Lint/UnusedMethodArgumentDouwe Maan
2017-02-23Disable Style/TrailingCommaInLiteralDouwe Maan
2017-02-23Enable Style/SpaceInsideBracketsDouwe Maan
2017-02-23Enable Style/MutableConstantDouwe Maan
2017-02-23Enable Style/DotPositionDouwe Maan
2017-02-23Enable the RSpec/BeEql copRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-02-22No more and/orDouwe Maan
2017-02-13Merge branch 'rs-rubocop-rspec' into 'master' Rémy Coutable
Enable Style/RedundantException, Lint/EmptyWhen, and RSpec/ExpectActual cops See merge request !9151
2017-02-13Enable `Lint/EmptyWhen` cop and correct offenseRobert Speicher
2017-02-13Merge branch 'zj-drop-ruby-21-tests' into 'master' Rémy Coutable
Update Rubocop to Ruby 2.3 See merge request !8994
2017-02-11Enable `Style/RedundantException` cop and correct offenseRobert Speicher
2017-02-11Enable the `RSpec/ExpectActual` cop and correct offensesRobert Speicher
2017-02-11Explicitly disable the RSpec/BeEql copRobert Speicher
This is a little too picky, even for us.
2017-02-09Add a spec for our custom GemFetcher copRobert Speicher
2017-02-07Update Rubocop to ruby 2.3Z.J. van de Weg
2017-02-02ignore node_modules in rubocopMike Greiling
2017-01-11Fix Rubocop YAML config files to avoid CE->EE issuesGrzegorz Bizon
2016-12-16Enable Style/MultilineOperationIndentation in Rubocop, fixes #25741Rydkin Maxim
2016-10-20Change target Ruby version for Rubocop to 2.1.Adam Niedzielski
We have to use the lowest common denominator to check the supported syntax and in our case it is Ruby 2.1. Please note that it will not help with unsupported syntax in HAML files because they are not checked by Rubocop.
2016-10-04Update RuboCop to 0.43.0 and update configurationRobert Speicher
`Style/VariableNumber` is explicitly disabled because I don't think we care if we name a variable `var_1` or `var1`.
2016-10-03Enable Lint/StringConversionInInterpolation cop and autocorrect offensesRobert Speicher
2016-09-21Revert "Merge branch 'rs-update-rubocop-rspec' into 'master'"Robert Speicher
This reverts commit 70faf5fdfbfa0e427b12d4181a9302394974c3cf, reversing changes made to 2307eb84dcd1748cc231719017551111310d1bf9.
2016-09-15Update `.rubocop.yml` for rubocop-rspec 1.7.0Robert Speicher
2016-09-01Rubocop syntax 2.3Z.J. van de Weg
2016-08-09Merge branch 'rubocop/enable-more-cops-for-empty-lines' into 'master' Robert Speicher
Enable some Rubocop cops related to new lines ## What does this MR do? This MR enabled two additional Rubocop cops: Keeps track of empty lines around block bodies. `Style/EmptyLinesAroundBlockBody` Keeps track of empty lines around method bodies. ` Style/EmptyLinesAroundMethodBody` See merge request !5637
2016-08-08Merge branch 'rubocop/EmptyLinesAroundModuleBody' into 'master' Douwe Maan
Enable Style/EmptyLinesAround Module/Class Body cop ## What does this MR do? Enable a new rubocop cops as discussed here: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/1877/diffs#note_13021078 ## Are there points in the code the reviewer needs to double check? May be a good idea to send a message to people to prevent `master` red because of the new cop. ## Why was this MR needed? We want to improve code style and not waste endbosses time checking style manually ## What are the relevant issue numbers? ## Screenshots (if relevant) ## Does this MR meet the acceptance criteria? - [ ] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry added - [ ] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md) - [ ] API support added - Tests - [ ] Added for this feature/bug - [ ] All builds are passing - [ ] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides) - [ ] Branch has no merge conflicts with `master` (if you do - rebase it please) - [ ] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits) See merge request !5692
2016-08-06Enable Style/SpaceAroundEqualsInParameterDefault copGabriel Mazetto
2016-08-06Enable Style/EmptyLinesAroundClassBody copGabriel Mazetto
2016-08-06Enable Style/EmptyLinesAroundModuleBody copGabriel Mazetto
2016-08-03Enable some Rubocop cops related to new linesGrzegorz Bizon
2016-07-29Merge branch 'rubocop/enable-access-modifiers-cops' into 'master' Robert Speicher
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
2016-07-20Enable Style/MultilineTernaryOperator rubocop copGrzegorz Bizon
Avoid multi-line ?: (the ternary operator). Use if/unless instead. See #17478
2016-07-19Enable Rubocop cops for invalid access modifiersGrzegorz Bizon
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.
2016-07-13Disable two cops as recommended.Connor Shea