summaryrefslogtreecommitdiff
path: root/spec/rubocop
Commit message (Expand)AuthorAgeFilesLines
* 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
* Require rubocop-rspec in the correct locationrs-fix-codeclimate-buildRobert Speicher2017-06-141-1/+0
* Add a custom RSpec/SingleLineHook copRobert Speicher2017-06-141-0/+67
* Add database helpers 'add_timestamps_with_timezone' and 'timestamps_with_time...32054-rails-should-use-timestamptz-database-type-for-postgresqlblackst0ne2017-06-133-0/+279
* Added Cop to blacklist polymorphic associationsYorick Peterse2017-06-072-2/+35
* Add a rubocop rule to check if a method 'redirect_to' is used without explici...31840-add-a-rubocop-that-forbids-redirect_to-inside-a-controller-destroy-action-without-an-explicit-statusblackst0ne2017-06-071-0/+86
* Added Cop to blacklist the use of serializedocument-not-using-serializeYorick Peterse2017-05-311-0/+33
* New Migration/UpdateColumnInBatches copRémy Coutable2017-05-291-0/+94
* Add AddColumnWithDefaultToLargeTable copRobert Speicher2017-04-281-0/+44
* Rename AddColumnWithDefault to ReversibleAddColumnWithDefaultRobert Speicher2017-04-281-2/+2
* Add remove_concurrent_index to database helperblackst0ne2017-04-062-0/+76
* Add cop to ensure reversibility of add_concurrent_indexDouwe Maan2017-03-071-0/+41
* Add RuboCop cop for custom error classesSean McGivern2017-03-011-0/+111
* Enforce use of add_concurrent_foreign_keyconcurrent-foreign-keysYorick Peterse2017-02-101-0/+33
* Add a spec for our custom GemFetcher coprs-gemfetcher-cop-specRobert Speicher2017-02-091-0/+46
* Add cop that checks if add_column_with_default is used with up/down methodsDouwe Maan2017-02-081-0/+41