Module: HamlLint

Defined in:
lib/haml_lint/version.rb,
lib/haml_lint/cli.rb,
lib/haml_lint/lint.rb,
lib/haml_lint/utils.rb,
lib/haml_lint/runner.rb,
lib/haml_lint/linter.rb,
lib/haml_lint/logger.rb,
lib/haml_lint/parser.rb,
lib/haml_lint/report.rb,
lib/haml_lint/options.rb,
lib/haml_lint/reporter.rb,
lib/haml_lint/rake_task.rb,
lib/haml_lint/constants.rb,
lib/haml_lint/file_finder.rb,
lib/haml_lint/ruby_parser.rb,
lib/haml_lint/haml_visitor.rb,
lib/haml_lint/configuration.rb,
lib/haml_lint/linter/rubocop.rb,
lib/haml_lint/linter/alt_text.rb,
lib/haml_lint/linter/tag_name.rb,
lib/haml_lint/linter_registry.rb,
lib/haml_lint/script_extractor.rb,
lib/haml_lint/node_transformer.rb,
lib/haml_lint/linter/line_length.rb,
lib/haml_lint/linter/empty_script.rb,
lib/haml_lint/linter/implicit_div.rb,
lib/haml_lint/configuration_loader.rb,
lib/haml_lint/linter/ruby_comments.rb,
lib/haml_lint/linter/multiline_pipe.rb,
lib/haml_lint/reporter/json_reporter.rb,
lib/haml_lint/linter/html_attributes.rb,
lib/haml_lint/linter/multiline_script.rb,
lib/haml_lint/reporter/default_reporter.rb,
lib/haml_lint/linter/classes_before_ids.rb,
lib/haml_lint/linter/trailing_whitespace.rb,
lib/haml_lint/linter/space_before_script.rb,
lib/haml_lint/linter/consecutive_comments.rb,
lib/haml_lint/linter/leading_comment_space.rb,
lib/haml_lint/linter/unnecessary_interpolation.rb,
lib/haml_lint/linter/unnecessary_string_output.rb,
lib/haml_lint/linter/consecutive_silent_scripts.rb,
lib/haml_lint/linter/object_reference_attributes.rb,
lib/haml_lint/linter/space_inside_hash_attributes.rb,
lib/haml_lint/linter/class_attribute_with_static_value.rb

Overview

Global application constants.

Defined Under Namespace

Modules: Exceptions, HamlVisitor, LinterRegistry, Tree, Utils Classes: CLI, Configuration, ConfigurationLoader, FileFinder, Lint, Linter, Logger, NoSuchLinter, NodeTransformer, OffenceCollector, Options, Parser, RakeTask, Report, Reporter, RubyParser, Runner, ScriptExtractor

Constant Summary collapse

VERSION =
'0.12.0'
HAML_LINT_HOME =
File.expand_path(File.join(File.dirname(__FILE__), '..', '..'))
APP_NAME =
'haml-lint'
REPO_URL =
'https://github.com/causes/haml-lint'
BUG_REPORT_URL =
"#{REPO_URL}/issues"