summaryrefslogtreecommitdiff
path: root/rubocop/cop
Commit message (Collapse)AuthorAgeFilesLines
* Add latest changes from gitlab-org/gitlab@13-0-stable-eeGitLab Bot2020-05-2016-208/+453
|
* Add latest changes from gitlab-org/gitlab@12-10-stable-eeGitLab Bot2020-04-202-0/+93
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-04-141-0/+45
|
* 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-301-0/+47
|
* 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-184-63/+2
|
* 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-192-0/+113
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-02-131-0/+55
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-02-101-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-02-042-0/+85
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-01-291-26/+0
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-01-281-0/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-01-151-0/+119
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-12-271-32/+13
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-12-191-0/+64
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-12-171-1/+4
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-12-041-0/+43
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-12-031-2/+2
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-12-011-0/+20
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-11-281-0/+43
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-11-251-1/+4
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-11-071-0/+78
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-10-161-0/+42
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-10-031-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-187-8/+7
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-132-9/+95
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-132-2/+58
|
* Add Scalability/FileUploads copAlessio Caiazza2019-09-101-0/+61
| | | | | 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-281-4/+0
|
* Refactor BeSuccessMatcher specs for readabilityVitali Tatarintev2019-08-281-1/+1
|
* Utilize Rubocop's Include for BeSuccessMatcherVitali Tatarintev2019-08-281-1/+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-281-0/+50
| | | | | | | | | | | 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-268-36/+5
| | | | Stop checking the file location programmatically.
* Adds cop to enforce string limits on migrationsMayra Cabrera2019-08-231-0/+59
| | | | | | | 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-011-0/+35
| | | | | | | | 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.
* Change element_with_pattern cop to not use quotesddavison2019-07-101-1/+1
| | | | | | | Using quotes within string validations can be messy. Let's use a typical CSS selector for an unquoted attribute Update the cop spec to validate appropriate new message