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 =
"0.11.0".freeze
RUBOCOP_VERSION =
"0.55.0".freeze

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