Module: RuboCopDryImport
- Defined in:
- lib/rubocop_dry_import.rb,
lib/rubocop_dry_import/version.rb
Constant Summary collapse
- VERSION =
'0.1.0'
Class Method Summary collapse
Class Method Details
.inject! ⇒ Object
7 8 9 10 11 12 |
# File 'lib/rubocop_dry_import.rb', line 7 def self.inject! path = File.(__dir__) RuboCop::ConfigLoader.default_configuration = RuboCop::ConfigLoader.default_configuration.merge( YAML.safe_load_file(File.join(path, 'config', 'default.yml'), aliases: true) ) end |