summaryrefslogtreecommitdiff
path: root/.rubocop.yml
Commit message (Collapse)AuthorAgeFilesLines
* Enable RSpec/SingleLineHook copRobert Speicher2017-06-141-1/+1
|
* Add a custom RSpec/SingleLineHook copRobert Speicher2017-06-141-0/+7
| | | | | This cop adds an offense when `before`, `after`, or `around` are used as single-line blocks.
* Disable the Style/PreferredHashMethods copdisable-Style/PreferredHashMethods-copRémy Coutable2017-06-091-1/+1
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Enable the Style/PreferredHashMethods coprc/enable-PreferredHashMethods-copRémy Coutable2017-06-021-0/+9
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Add descriptions for the RSpec/EmptyExampleGroup and RSpec/ExpectOutput copsadd-cop-descriptionsRémy Coutable2017-05-191-1/+2
| | | | | | [ci skip] Signed-off-by: Rémy Coutable <remy@rymai.me>
* Merge branch 'rubocop-empty-example-group' into 'master'Robert Speicher2017-05-181-0/+6
|\ | | | | | | | | Enable the RSpec/EmptyExampleGroup cop See merge request !11497
| * Enable the RSpec/EmptyExampleGroup coprubocop-empty-example-groupRémy Coutable2017-05-181-0/+6
| | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Enable the RSpec/ExpectOutput coprubocop-expect-outputRémy Coutable2017-05-181-0/+3
|/ | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Enable the Style/TrailingCommaInArguments copRémy Coutable2017-05-101-0/+5
| | | | | | Use the EnforcedStyleForMultiline: no_comma option. Signed-off-by: Rémy Coutable <remy@rymai.me>
* Enable the Style/TrailingCommaInLiteral copRémy Coutable2017-05-101-1/+2
| | | | | | Use the EnforcedStyleForMultiline: no_comma option. Signed-off-by: Rémy Coutable <remy@rymai.me>
* Enable `RSpec/DescribedClass` copRobert Speicher2017-05-011-1/+1
|
* Merge branch 'enable-spec-file-name-cop' into 'master' Robert Speicher2017-04-281-4/+6
|\ | | | | | | | | | | | | Enable RSpec/FilePath cop Closes #31316 See merge request !10911
| * Enable RSpec/FilePath copenable-spec-file-name-copSean McGivern2017-04-261-4/+6
| | | | | | | | | | | | - Ignore JS fixtures - Ignore qa directory - Rewrite concern specs to put concern name first
* | Decrease ABC threshold to 57.08Maxim Rydkin2017-04-261-1/+1
| |
* | Decrease Cyclomatic Complexity threshold to 16Maxim Rydkin2017-04-261-1/+1
|/
* Enable RSpec/DescribeSymbol; update .rubocop_todo.ymlRobert Speicher2017-04-071-0/+4
|
* Enable Style/Proc cop for rubocopmhasbini2017-04-021-0/+4
|
* Ignore builds dir when run rubocop checkdz-rubocop-skip-buildsDmitriy Zaporozhets2017-02-281-0/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Merge branch 'enable-rspec-be_eql-cop' into 'master' Robert Speicher2017-02-231-1/+1
|\ | | | | | | | | Enable the RSpec/BeEql cop See merge request !9476
| * Enable the RSpec/BeEql copenable-rspec-be_eql-copRémy Coutable2017-02-231-1/+1
| | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Revert "Enable Style/DotPosition"Douwe Maan2017-02-231-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 "Prefer leading style for Style/DotPosition"Douwe Maan2017-02-231-1/+1
| | | | | | | | This reverts commit cb10b725c8929b8b4460f89c9d96c773af39ba6b.
* | Revert "Enable Style/BarePercentLiterals"Douwe Maan2017-02-231-4/+0
| | | | | | | | This reverts commit 96bef54154e669f9a3e92c3a4bc76c0be3a52e48.
* | Exclude migrations from Style/MutableConstantDouwe Maan2017-02-231-0/+3
| |
* | Add explanations to copsDouwe Maan2017-02-231-0/+61
| |
* | Update rubocop and rubocop-rspec and regenerate .rubocop_todo.ymlDouwe Maan2017-02-231-4/+4
| |
* | Order cops alphabeticallyDouwe Maan2017-02-231-121/+123
| |
* | Don’t exclude some file in lib from rubocopDouwe Maan2017-02-231-7/+14
| |
* | Enable Rails/DelegateDouwe Maan2017-02-231-1/+1
| |
* | Enable Style/WordArrayDouwe Maan2017-02-231-1/+1
| |
* | Enable Style/MultilineHashBraceLayoutDouwe Maan2017-02-231-1/+1
| |
* | Enable Style/MultilineArrayBraceLayoutDouwe Maan2017-02-231-1/+2
| |
* | Enable Style/EmptyLineBetweenDefsDouwe Maan2017-02-231-1/+1
| |
* | Enable Style/ClassCheckDouwe Maan2017-02-231-1/+1
| |
* | Prefer leading style for Style/DotPositionDouwe Maan2017-02-231-1/+1
| |
* | Enable Style/ConditionalAssignmentDouwe Maan2017-02-231-0/+3
| |
* | Enable Style/ColonMethodCallDouwe Maan2017-02-231-0/+3
| |
* | Disable Style/BracesAroundHashParametersDouwe Maan2017-02-231-1/+3
| |
* | Enable Style/BarePercentLiteralsDouwe Maan2017-02-231-0/+4
| |
* | Enable Security/JSONLoadDouwe Maan2017-02-231-0/+3
| |
* | Enable Rails/ValidationDouwe Maan2017-02-231-0/+3
| |
* | Disable Rails/OutputSafetyDouwe Maan2017-02-231-0/+3
| |
* | Disable Rails/DynamicFindByDouwe Maan2017-02-231-0/+3
| |
* | Enable Performance/RedundantMatchDouwe Maan2017-02-231-0/+3
| |
* | Enable Performance/RedundantBlockCallDouwe Maan2017-02-231-0/+3
| |
* | Disable Lint/UnneededSplatExpansionDouwe Maan2017-02-231-0/+2
| |
* | Enable Lint/UnifiedIntegerDouwe Maan2017-02-231-0/+4
| |
* | Enable Performance/RedundantMergeDouwe Maan2017-02-231-0/+4
| |
* | Disable some more copsDouwe Maan2017-02-231-0/+42
| |
* | Disable a few RSpec copsDouwe Maan2017-02-231-0/+27
| |