Class: LintTrappings::LinterConfigurationValidator
- Inherits:
-
Object
- Object
- LintTrappings::LinterConfigurationValidator
- Defined in:
- lib/lint_trappings/linter_configuration_validator.rb
Overview
Validates a linter’s configuration options.
Instance Method Summary collapse
-
#validate(linter, config, options_specs) ⇒ Object
Verifies the configuration passed to this linter satisfies the options specifications declared in the linter class.
Instance Method Details
#validate(linter, config, options_specs) ⇒ Object
Verifies the configuration passed to this linter satisfies the options specifications declared in the linter class.
10 11 12 13 |
# File 'lib/lint_trappings/linter_configuration_validator.rb', line 10 def validate(linter, config, ) insert_default_values(config, ) check_option_types(linter, config, ) end |