Merge branch 'no-ivar-in-modules' into tmp
* no-ivar-in-modules: Cache allowed_ids Fix a few layout error Make it clear that this is an acceptable use Reword Instance variables in views Move ModuleWithInstanceVariables to Gitlab namespace Explain how to disable it in the doc Just define allowed_ids and override it with empty value Updates based on feedback Remove codes from bad merge Allow initialize method and single ivar Use StrongMemoize and enable/disable cops properly WIP Fix grammar: judge -> judgement Allow simple ivar ||= form. Update accordingly Add cop to make sure we don't use ivar in a module
Showing
Please register or sign in to comment