summaryrefslogtreecommitdiff
path: root/rubocop/cop
Commit message (Expand)AuthorAgeFilesLines
* Whitelist none method from ActiveRecord::Queryingda-rubocop-whitelist-active-record-noneDouglas Barbosa Alexandre2018-10-311-1/+0
* Add a new QA::ElementWithPattern copRémy Coutable2018-10-151-0/+39
* Applies the CE backport of EE#657Tiago Botelho2018-09-241-0/+22
* Fix leading slash in redirects and add copSanad Liaquat2018-09-211-0/+52
* Remove unused constantbvl-remove-unused-regexBob Van Landuyt2018-09-191-1/+0
* Added FromUnion to easily select from a UNIONYorick Peterse2018-09-171-0/+27
* Added RuboCop cops to enforce code reuse rulesYorick Peterse2018-09-116-0/+386
* Fix LineBreakAroundConditionalBlock cop for a conditional after rescueRobert Speicher2018-09-051-1/+6
* Minor renames for clarityJacopo2018-08-291-2/+2
* Handles when ClassMethods is used inside a classJacopo2018-08-291-2/+4
* Fixes rubocop chain ordinary method after safe navigation operatorJacopo2018-08-291-2/+5
* Applies rule only when extending ActiveSupport::ConcernJacopo2018-08-291-2/+22
* Adds Rubocop rule to enforce class_methods over module ClassMethodsJacopo2018-08-291-0/+48
* Reject ruby interpolation in externalized stringsbvl-correct-interpolation-i18nBob Van Landuyt2018-08-252-0/+35
* Blacklist the use of "destroy_all"Yorick Peterse2018-08-161-0/+22
* Add rubocop check for add_reference to require index.Andreas Brandl2018-08-081-0/+49
* Update rubocop to get rid of a warning in other MRLin Jen-Shin2018-07-091-0/+2
* Merge branch 'update-large-tables-cop' into 'master'Grzegorz Bizon2018-06-221-2/+13
|\
| * Add more large tables to copupdate-large-tables-copSean McGivern2018-06-221-1/+5
| * Disallow methods that copy data on large tablesSean McGivern2018-06-191-1/+8
* | Add a cop for `FinderMethods`bvl-finder-methods-copBob Van Landuyt2018-06-201-0/+52
|/
* Allow comment after if/unless clause46758-fallout-of-cacheable-attributeRémy Coutable2018-05-291-1/+1
* Revert the addition of goldiloaderYorick Peterse2018-04-181-45/+0
* Resolve "Make a Rubocop that forbids returning from a block"🙈 jacopo beschi 🙉2018-04-183-2/+127
* Add cop for has_many :through without disabled autoloadingfix-n-plus-one-when-getting-notification-settings-for-recipientsSean McGivern2018-04-091-0/+45
* Introduce a new FactoriesInMigrationSpecs copRémy Coutable2018-04-061-0/+40
* Merge branch 'fj-15329-services-callbacks-ssrf' into 'security-10-6'Douwe Maan2018-03-211-0/+62
* Enable RuboCop Style/RegexpLiteralTakuya Noguchi2018-02-011-1/+1
* Introduce PredicateMemoization cop and fix offensesLin Jen-Shin2018-01-121-0/+39
* Adds Rubocop rule for line break around conditionals🙈 jacopo beschi 🙉2018-01-111-0/+119
* Use gitlab-stylesRémy Coutable2017-12-2230-469/+28
* Merge remote-tracking branch 'upstream/master' into no-ivar-in-modulesLin Jen-Shin2017-12-153-0/+86
|\
| * Add rubocops to ensure Sidekiq workers include ApplicationWorker and don't ma...Douwe Maan2017-12-132-0/+56
| * Add cop for use of remove_columnadd-remove-column-copSean McGivern2017-12-111-0/+30
* | Merge remote-tracking branch 'upstream/master' into no-ivar-in-modulesLin Jen-Shin2017-11-222-10/+112
|\ \ | |/
| * Merge branch '18040-rubocop-line-break-after-guard-clause' into 'master'Rémy Coutable2017-11-201-0/+100
| |\
| | * Adds Rubocop rule for line break after guard clauseJacopo2017-11-161-0/+100
| * | Prevent update_column_in_batches on large tablesSean McGivern2017-11-171-10/+12
| |/
* | Move ModuleWithInstanceVariables to Gitlab namespaceLin Jen-Shin2017-11-222-82/+63
* | Explain how to disable it in the docLin Jen-Shin2017-11-221-3/+0
* | Updates based on feedbackLin Jen-Shin2017-11-221-4/+2
* | Allow initialize method and single ivarLin Jen-Shin2017-11-181-3/+17
* | Merge remote-tracking branch 'upstream/master' into no-ivar-in-modulesLin Jen-Shin2017-11-063-7/+145
|\ \ | |/
| * Add a new RSpec::EnvAssignment cop to prevent assigning to ENV in specs18765-stub_env_in_specsRémy Coutable2017-10-181-0/+58
| * Also warn on timestamp in datetime migration copfix-timestampz-copSean McGivern2017-10-101-7/+13
| * Replaces `tag: true` into `:tag` in the specsJacopo2017-10-071-0/+74
* | Allow simple ivar ||= form. Update accordinglyLin Jen-Shin2017-09-191-2/+20
* | Add cop to make sure we don't use ivar in a moduleLin Jen-Shin2017-09-181-0/+55
|/
* Add SaferBooleanColumn copMichael Kozono2017-08-141-0/+94
* inifix/sm/forbid-to-use-add_column_with_default-on-ci_pipelines-by-rubocopShinya Maeda2017-08-011-0/+1