# frozen_string_literal: true module RuboCop module Cop module Naming # This cop makes sure that all variables use the configured style, # snake_case or camelCase, for their names. # # @example EnforcedStyle: snake_case (default) # # bad # fooBar = 1 # # # good # foo_bar = 1 # # @example EnforcedStyle: camelCase # # bad # foo_bar = 1 # # # good # fooBar = 1 class VariableName < Cop include ConfigurableNaming MSG = 'Use %