Add RuboCop
Generate RuboCop configuration
Enable AlignParameters cop
Enable Blocks cop
Enable BracesAroundHashParameters cop
Enable DotPosition cop
Enable HashMethods cop
Enable IfUnlessModifier cop
Enable LineLength cop
Enable OpMethod cop
Enable Proc cop
Enable RedundantBegin cop
Enable RedundantSelf cop
Enable RescueModifier cop
Enable Semicolon cop
Enable SignalException cop
Enable SpaceAroundBlockBraces cop
Enable SpaceInsideHashLiteralBraces cop
Enable ExactNameMatch option for TrivialAccessors cop

Without it, RuboCop complains about methods like this:

    def foo
      @bar
    end

With it, RuboCop will only complain about methods like this:

    def foo
      @foo
    end
Enable Documentation cop