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/linter.rb,
lib/haml_lint/logger.rb,
lib/haml_lint/report.rb,
lib/haml_lint/runner.rb,
lib/haml_lint/options.rb,
lib/haml_lint/document.rb,
lib/haml_lint/reporter.rb,
lib/haml_lint/constants.rb,
lib/haml_lint/rake_task.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/ruby_extractor.rb,
lib/haml_lint/linter/alt_text.rb,
lib/haml_lint/linter/tag_name.rb,
lib/haml_lint/linter_registry.rb,
lib/haml_lint/linter_selector.rb,
lib/haml_lint/node_transformer.rb,
lib/haml_lint/linter/indentation.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/final_newline.rb,
lib/haml_lint/linter/ruby_comments.rb,
lib/haml_lint/linter/multiline_pipe.rb,
lib/haml_lint/linter/html_attributes.rb,
lib/haml_lint/reporter/json_reporter.rb,
lib/haml_lint/linter/multiline_script.rb,
lib/haml_lint/linter/classes_before_ids.rb,
lib/haml_lint/reporter/default_reporter.rb,
lib/haml_lint/linter/space_before_script.rb,
lib/haml_lint/linter/trailing_whitespace.rb,
lib/haml_lint/linter/consecutive_comments.rb,
lib/haml_lint/linter/leading_comment_space.rb,
lib/haml_lint/reporter/checkstyle_reporter.rb,
lib/haml_lint/linter/empty_object_reference.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, Document, FileFinder, Lint, Linter, LinterSelector, Logger, NoSuchLinter, NodeTransformer, OffenseCollector, Options, RakeTask, Report, Reporter, RubyExtractor, RubyParser, Runner

Constant Summary collapse

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