Module: Cookstyle

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

Overview

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

Constant Summary collapse

VERSION =

rubocop: disable Style/StringLiterals

"5.11.0".freeze
RUBOCOP_VERSION =
'0.75.1'.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



28
29
30
# File 'lib/cookstyle.rb', line 28

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