summaryrefslogtreecommitdiff
path: root/rubocop/cop
Commit message (Expand)AuthorAgeFilesLines
* 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
* 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-141-0/+51
* Added EachBatch for iterating tables in batchesactive-record-each-batchYorick Peterse2017-07-071-0/+16
* Rename ActiverecordSerialize copYorick Peterse2017-07-061-1/+1
* Added Cop to blacklist the use of `dependent:`Yorick Peterse2017-07-061-0/+26
* Add ProjectPathHelper copDouwe Maan2017-07-051-0/+51
* Require rubocop-rspec in the correct locationrs-fix-codeclimate-buildRobert Speicher2017-06-141-1/+3
* Add a custom RSpec/SingleLineHook copRobert Speicher2017-06-141-0/+36
* Add database helpers 'add_timestamps_with_timezone' and 'timestamps_with_time...32054-rails-should-use-timestamptz-database-type-for-postgresqlblackst0ne2017-06-133-0/+88
* Added Cop to blacklist polymorphic associationsYorick Peterse2017-06-072-11/+28
* 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/+44
* Added Cop to blacklist the use of serializedocument-not-using-serializeYorick Peterse2017-05-311-0/+24
* New Migration/UpdateColumnInBatches copRémy Coutable2017-05-291-0/+43
* Add AddColumnWithDefaultToLargeTable copRobert Speicher2017-04-281-0/+51
* Rename AddColumnWithDefault to ReversibleAddColumnWithDefaultRobert Speicher2017-04-281-1/+1
* Refactor the AddColumnWithDefault cop to use node matchersRobert Speicher2017-04-281-9/+10
* Add remove_concurrent_index to database helperblackst0ne2017-04-063-1/+56
* Add cop to ensure reversibility of add_concurrent_indexDouwe Maan2017-03-071-0/+34
* Add RuboCop cop for custom error classesSean McGivern2017-03-011-0/+64
* Revert "Enable Style/DotPosition"Douwe Maan2017-02-231-6/+6
* Revert "Prefer leading style for Style/DotPosition"Douwe Maan2017-02-231-6/+6
* Prefer leading style for Style/DotPositionDouwe Maan2017-02-231-6/+6
* Enable Style/MutableConstantDouwe Maan2017-02-235-7/+7
* Enable Style/DotPositionDouwe Maan2017-02-231-6/+6
* Enforce use of add_concurrent_foreign_keyconcurrent-foreign-keysYorick Peterse2017-02-101-0/+27
* Add a spec for our custom GemFetcher coprs-gemfetcher-cop-specRobert Speicher2017-02-091-7/+16
* Explicitly require rubocop migration_helpersdm-add-column-with-default-copDouwe Maan2017-02-082-0/+4
* Add cop that checks if add_column_with_default is used with up/down methodsDouwe Maan2017-02-083-4/+38