summaryrefslogtreecommitdiff
path: root/spec/rubocop
Commit message (Expand)AuthorAgeFilesLines
* Add a new QA::ElementWithPattern copRémy Coutable2018-10-152-0/+87
* Applies the CE backport of EE#657Tiago Botelho2018-09-241-0/+28
* Fix leading slash in redirects and add copSanad Liaquat2018-09-211-0/+32
* Added FromUnion to easily select from a UNIONYorick Peterse2018-09-171-0/+25
* Added RuboCop cops to enforce code reuse rulesYorick Peterse2018-09-117-0/+891
* Fix LineBreakAroundConditionalBlock cop for a conditional after rescueRobert Speicher2018-09-051-0/+16
* Minor renames for clarityJacopo2018-08-291-1/+1
* Handles when ClassMethods is used inside a classJacopo2018-08-291-0/+11
* Applies rule only when extending ActiveSupport::ConcernJacopo2018-08-291-1/+22
* Adds Rubocop rule to enforce class_methods over module ClassMethodsJacopo2018-08-291-0/+66
* Reject ruby interpolation in externalized stringsbvl-correct-interpolation-i18nBob Van Landuyt2018-08-251-0/+68
* Whitelist existing destroy_all offensesblacklist-destroy-allYorick Peterse2018-08-161-3/+3
* Blacklist the use of "destroy_all"Yorick Peterse2018-08-161-0/+43
* Add rubocop check for add_reference to require index.Andreas Brandl2018-08-081-0/+54
* Merge branch 'update-large-tables-cop' into 'master'Grzegorz Bizon2018-06-221-0/+20
|\
| * Disallow methods that copy data on large tablesSean McGivern2018-06-191-0/+20
* | Add a cop for `FinderMethods`bvl-finder-methods-copBob Van Landuyt2018-06-201-0/+56
|/
* Allow comment after if/unless clause46758-fallout-of-cacheable-attributeRémy Coutable2018-05-291-0/+12
* Revert the addition of goldiloaderYorick Peterse2018-04-181-74/+0
* Resolve "Make a Rubocop that forbids returning from a block"🙈 jacopo beschi 🙉2018-04-182-0/+201
* Add cop for has_many :through without disabled autoloadingfix-n-plus-one-when-getting-notification-settings-for-recipientsSean McGivern2018-04-091-0/+74
* Introduce a new FactoriesInMigrationSpecs copRémy Coutable2018-04-061-0/+48
* Merge branch 'fj-15329-services-callbacks-ssrf' into 'security-10-6'Douwe Maan2018-03-211-0/+74
* Make sure it's not offending to use local ||= valLin Jen-Shin2018-01-131-0/+14
* Introduce PredicateMemoization cop and fix offensesLin Jen-Shin2018-01-121-0/+86
* Adds Rubocop rule for line break around conditionals🙈 jacopo beschi 🙉2018-01-111-0/+411
* Use gitlab-stylesRémy Coutable2017-12-2228-707/+75
* Merge remote-tracking branch 'upstream/master' into no-ivar-in-modulesLin Jen-Shin2017-12-153-0/+125
|\
| * Add rubocops to ensure Sidekiq workers include ApplicationWorker and don't ma...Douwe Maan2017-12-132-0/+57
| * Add cop for use of remove_columnadd-remove-column-copSean McGivern2017-12-111-0/+68
* | Merge remote-tracking branch 'upstream/master' into no-ivar-in-modulesLin Jen-Shin2017-11-223-44/+229
|\ \ | |/
| * Merge branch '18040-rubocop-line-break-after-guard-clause' into 'master'Rémy Coutable2017-11-201-0/+160
| |\
| | * Adds Rubocop rule for line break after guard clauseJacopo2017-11-161-0/+160
| * | Prevent update_column_in_batches on large tablesSean McGivern2017-11-172-44/+69
| |/
* | Move ModuleWithInstanceVariables to Gitlab namespaceLin Jen-Shin2017-11-221-38/+2
* | Updates based on feedbackLin Jen-Shin2017-11-221-95/+87
* | Allow initialize method and single ivarLin Jen-Shin2017-11-181-0/+29
* | Merge remote-tracking branch 'upstream/master' into no-ivar-in-modulesLin Jen-Shin2017-11-063-0/+138
|\ \ | |/
| * Add a new RSpec::EnvAssignment cop to prevent assigning to ENV in specs18765-stub_env_in_specsRémy Coutable2017-10-181-0/+59
| * Also warn on timestamp in datetime migration copfix-timestampz-copSean McGivern2017-10-101-0/+26
| * Replaces `tag: true` into `:tag` in the specsJacopo2017-10-071-0/+53
* | Allow simple ivar ||= form. Update accordinglyLin Jen-Shin2017-09-191-17/+72
* | Add cop to make sure we don't use ivar in a moduleLin Jen-Shin2017-09-181-0/+117
|/
* Add SaferBooleanColumn copMichael Kozono2017-08-141-0/+85
* Added cop to blacklist the use of hash indexesrubocop-hash-indexYorick Peterse2017-07-141-0/+53
* Added EachBatch for iterating tables in batchesactive-record-each-batchYorick Peterse2017-07-071-0/+19
* Rename ActiverecordSerialize copYorick Peterse2017-07-061-2/+2
* Added Cop to blacklist the use of `dependent:`Yorick Peterse2017-07-061-0/+33
* Add ProjectPathHelper copDouwe Maan2017-07-051-0/+41
* Enable Style/DotPosition Rubocop :cop:Grzegorz Bizon2017-06-211-2/+2