Module: Chefstyle

Defined in:
lib/chefstyle.rb,
lib/chefstyle/version.rb

Overview

Chefstyle patches the RuboCop tool to set a new default configuration that is vendored in the Chefstyle codebase.

Constant Summary collapse

VERSION =
"2.0.4"
RUBOCOP_VERSION =
"1.15.0"

Class Method Summary collapse

Class Method Details

.configString

Returns the absolute path to the main RuboCop configuration YAML file.

Returns:

  • (String)

    the absolute path to the main RuboCop configuration YAML file


26
27
28
# File 'lib/chefstyle.rb', line 26

def self.config
  RuboCop::ConfigLoader::DEFAULT_FILE
end