summaryrefslogtreecommitdiff
path: root/rubocop
Commit message (Expand)AuthorAgeFilesLines
* Added RuboCop cops to enforce code reuse rulesYorick Peterse2018-09-118-0/+548
* 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-292-0/+49
* Reject ruby interpolation in externalized stringsbvl-correct-interpolation-i18nBob Van Landuyt2018-08-253-0/+36
* Blacklist the use of "destroy_all"Yorick Peterse2018-08-162-0/+23
* Add rubocop check for add_reference to require index.Andreas Brandl2018-08-082-0/+50
* 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-202-0/+53
|/
* Allow comment after if/unless clause46758-fallout-of-cacheable-attributeRémy Coutable2018-05-291-1/+1
* Introduce spec/fast_spec_helper.rb to run spec files that don't rely on the w...Rémy Coutable2018-04-231-1/+1
* Revert the addition of goldiloaderYorick Peterse2018-04-182-47/+1
* Resolve "Make a Rubocop that forbids returning from a block"🙈 jacopo beschi 🙉2018-04-184-2/+129
* Add cop for has_many :through without disabled autoloadingfix-n-plus-one-when-getting-notification-settings-for-recipientsSean McGivern2018-04-092-1/+47
* Introduce a new FactoriesInMigrationSpecs copRémy Coutable2018-04-063-1/+53
* Merge branch 'fj-15329-services-callbacks-ssrf' into 'security-10-6'Douwe Maan2018-03-212-0/+63
* [CE] Add Naming/FileName rule checking expected class/module per filenameGabriel Mazetto2018-03-081-0/+1
* Enable RuboCop Style/RegexpLiteralTakuya Noguchi2018-02-011-1/+1
* Introduce PredicateMemoization cop and fix offensesLin Jen-Shin2018-01-122-0/+40
* Adds Rubocop rule for line break around conditionals🙈 jacopo beschi 🙉2018-01-112-0/+120
* Require our own custom cops; Remove missing cops41480-require-custom-copsLin Jen-Shin2017-12-261-3/+0
* Use gitlab-stylesRémy Coutable2017-12-2232-490/+31
* Merge remote-tracking branch 'upstream/master' into no-ivar-in-modulesLin Jen-Shin2017-12-155-0/+95
|\
| * Add rubocops to ensure Sidekiq workers include ApplicationWorker and don't ma...Douwe Maan2017-12-133-0/+58
| * Add cop for use of remove_columnadd-remove-column-copSean McGivern2017-12-113-0/+37
* | Merge remote-tracking branch 'upstream/master' into no-ivar-in-modulesLin Jen-Shin2017-11-223-11/+114
|\ \ | |/
| * Merge branch '18040-rubocop-line-break-after-guard-clause' into 'master'Rémy Coutable2017-11-202-0/+101
| |\
| | * Adds Rubocop rule for line break after guard clauseJacopo2017-11-162-0/+101
| * | Prevent update_column_in_batches on large tablesSean McGivern2017-11-172-11/+13
| |/
* | Move ModuleWithInstanceVariables to Gitlab namespaceLin Jen-Shin2017-11-223-83/+64
* | Explain how to disable it in the docLin Jen-Shin2017-11-221-3/+0
* | Updates based on feedbackLin Jen-Shin2017-11-221-4/+2
* | Remove codes from bad mergeLin Jen-Shin2017-11-181-2/+0
* | 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-065-10/+164
|\ \ | |/
| * Add a new RSpec::EnvAssignment cop to prevent assigning to ENV in specs18765-stub_env_in_specsRémy Coutable2017-10-183-5/+76
| * Also warn on timestamp in datetime migration copfix-timestampz-copSean McGivern2017-10-101-7/+13
| * Replaces `tag: true` into `:tag` in the specsJacopo2017-10-072-0/+75
* | 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-182-0/+56
|/
* Add SaferBooleanColumn copMichael Kozono2017-08-142-0/+95
* inifix/sm/forbid-to-use-add_column_with_default-on-ci_pipelines-by-rubocopShinya Maeda2017-08-011-0/+1
* Update the large table list in AddColumnWithDefaultToLargeTable copRobert Speicher2017-07-261-0/+3
* Added cop to blacklist the use of hash indexesrubocop-hash-indexYorick Peterse2017-07-142-0/+52