use rubocop.gem.
add "rubocop" rake task.
use "rubocop" task in default task.
start "rubocop" check.
rubocop: enable Lint/UnusedBlockArgument.
rubocop: enable Lint/UnusedMethodArgument.
rubocop: disable Style/Blocks.
rubocop: set EnforcedStyle on Style/ClassAndModuleChildren.
rubocop: enable Style/FileName.
rubocop: enable Style/HashSyntax.
rubocop: enable Style/IfUnlessModifier.
rubocop: set Max on Style/MethodLength.
rubocop: disable Style/NegatedIf.
rubocop: enable Style/Next.
rubocop: set MaxSlashes on Style/RegexpLiteral.
rubocop: enable Style/SignalException.
rubocop: enable Style/SpaceInsideBlockBraces.
rubocop: enable Style/SpecialGlobalVars.
rubocop: set EnforcedStyle on Style/StringLiterals.
rubocop: enable Style/DotPosition.