• Lin Jen-Shin's avatar
    Merge branch 'no-ivar-in-modules' into tmp · 91756788
    Lin Jen-Shin authored
    * 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
    91756788
merge_requests_action.rb 520 Bytes