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.2.3"
RUBOCOP_VERSION =
"1.25.1"

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



12
13
14
# File 'lib/chefstyle.rb', line 12

def self.config
  File.realpath(File.join(__dir__, "..", "config", "default.yml"))
end