Class: RuboCop::Slim::ConfigLoader
- Inherits:
-
Object
- Object
- RuboCop::Slim::ConfigLoader
- Defined in:
- lib/rubocop/slim/config_loader.rb
Overview
Merge default RuboCop config with plugin config.
Constant Summary collapse
- PLUGIN_CONFIG_PATH =
::File.( '../../../config/default.yml', __dir__ )
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.call ⇒ RuboCop::Config
16 17 18 |
# File 'lib/rubocop/slim/config_loader.rb', line 16 def call new.call end |
Instance Method Details
#call ⇒ RuboCop::Config
22 23 24 25 26 27 |
# File 'lib/rubocop/slim/config_loader.rb', line 22 def call RuboCop::ConfigLoader.merge_with_default( plugin_config, PLUGIN_CONFIG_PATH ) end |