summaryrefslogtreecommitdiff
path: root/rubocop
Commit message (Collapse)AuthorAgeFilesLines
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-04-071-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-03-311-25/+61
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-03-302-1/+57
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-03-271-0/+32
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-03-271-0/+36
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-03-231-0/+66
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-03-201-0/+25
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-03-185-63/+45
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-03-131-0/+30
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-03-092-1/+35
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-02-271-6/+38
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-02-193-0/+117
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-02-171-63/+4
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-02-141-0/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-02-132-0/+56
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-02-101-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-02-043-0/+87
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-01-292-27/+0
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-01-281-0/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-01-152-0/+120
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-12-271-32/+13
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-12-192-0/+65
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-12-171-1/+4
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-12-042-0/+44
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-12-031-2/+2
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-12-012-0/+21
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-11-282-0/+44
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-11-251-1/+4
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-11-072-0/+79
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-10-162-0/+43
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-10-031-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-191-5/+7
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-187-8/+7
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-133-9/+96
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-133-2/+59
|
* Fix code docs for RuboCop's helper methodsPeter Leitzen2019-09-121-2/+2
| | | | `(const nil :Foo)` vs `(const nil? :Foo)`
* Add Scalability/FileUploads copAlessio Caiazza2019-09-102-0/+62
| | | | | This cop prevents you from using file in API, it points you to the development documentation about workhorse file acceleration.
* Fix InjectEnterpriseEditionModule cop for qa/Yorick Peterse2019-08-281-1/+1
| | | | | | | This ensures the InjectEnterpriseEditionModule cop is able to detect the prepend patterns used in the qa/ directory. Previously it would not detect them as all EE QA modules reside in QA::EE, and not the top-level EE namespace.
* Remove Rubocop::SpecHelper fileVitali Tatarintev2019-08-282-34/+0
|
* Refactor BeSuccessMatcher specs for readabilityVitali Tatarintev2019-08-281-1/+1
|
* Utilize Rubocop's Include for BeSuccessMatcherVitali Tatarintev2019-08-282-17/+0
| | | | | Use Rubocop's Include instead of manually checking the matcher in controllers specs.
* Add support of not_to/to_not to BeSuccessMatcherVitali Tatarintev2019-08-281-2/+2
| | | | | | | | | | | | | | BeSuccessMatcher now supports following examples: ``` expect(response).to be_success expect(response).to_not be_success expect(response).not_to be_success is_expected.to be_success is_expected.to_not be_success is_expected.not_to be_success ```
* Replace double quotes with single quotesVitali Tatarintev2019-08-281-2/+2
|
* Enable frozen string literalVitali Tatarintev2019-08-281-0/+2
|
* Autocorrect `be_success` to `be_successful`Vitali Tatarintev2019-08-281-0/+6
|
* Add Rubocop check to avoid using `be_success`Vitali Tatarintev2019-08-283-0/+97
| | | | | | | | | | | Prevent using `be_success` call in controller specs to avoid getting following deprecation warning: ``` DEPRECATION WARNING: The success? predicate is deprecated and will be removed in Rails 6.0. Please use successful? as provided by Rack::Response::Helpers. ```
* Utilize RuboCop's Include/Exclude configPeter Leitzen2019-08-269-66/+5
| | | | Stop checking the file location programmatically.
* Adds cop to enforce string limits on migrationsMayra Cabrera2019-08-232-0/+60
| | | | | | | This cop will analyze migrations that add columns with string, and report an offense if the string has no limit enforced Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/64505
* Add RSpec/TopLevelDescribePath copSean McGivern2019-08-012-0/+36
| | | | | | | | The RSpec/FilePath cop checks that a spec file's path is correct, but only if the file describes a constant. We want to check, for any file with a top-level `describe`, whether the file path ends in `_spec.rb`. We don't care what comes before that; just that it will be executed by RSpec at all.
* Extend cop for verifying injecting of EE modulesYorick Peterse2019-07-301-7/+41
| | | | | | | | | This extends the InjectEnterpriseEditionModule RuboCop cop so that it verifies the following: 1. The line number the injection occurs on (as before). 2. The method used (e.g. prepend instead of prepend_if_ee). 3. The argument type passed when using the new module injection methods.