Module: Hound::RulesUpdater
Instance Method Summary collapse
Instance Method Details
#update(linter_names = [], local = false) ⇒ Object
7 8 9 10 11 |
# File 'lib/hound/rules_updater.rb', line 7 def update(linter_names = [], local = false) linter_configs = ConfigCollection.config_instances(linter_names) write_rules(linter_configs, local) write_hound_yml(linter_configs) if local end |