lib/slim_lint/runner.rb in slim_lint-0.4.0 vs lib/slim_lint/runner.rb in slim_lint-0.5.0
- old
+ new
@@ -2,15 +2,15 @@
# Responsible for running the applicable linters against the desired files.
class Runner
# Runs the appropriate linters against the desired files given the specified
# options.
#
- # @param options [Hash]
- # @option config_file [String] path of configuration file to load
- # @option config [SlimLint::Configuration] configuration to use
- # @option excluded_files [Array<String>]
- # @option included_linters [Array<String>]
- # @option excluded_linters [Array<String>]
+ # @param [Hash] options
+ # @option options :config_file [String] path of configuration file to load
+ # @option options :config [SlimLint::Configuration] configuration to use
+ # @option options :excluded_files [Array<String>]
+ # @option options :included_linters [Array<String>]
+ # @option options :excluded_linters [Array<String>]
# @return [SlimLint::Report] a summary of all lints found
def run(options = {})
config = load_applicable_config(options)
files = extract_applicable_files(config, options)