Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Bennett <lbennett@gitlab.com>2019-04-23 22:04:11 +0300
committerLuke Bennett <lbennett@gitlab.com>2019-05-20 22:25:32 +0300
commit95afdfaeeb301699df3bbac0fde9cad0dda4d5f1 (patch)
tree5ffe60d88969bec005c09965faeabadfa440de4d /.haml-lint.yml
parent712282cdcc4a97df23829284bfa031613bb05571 (diff)
Add HamlLint::Linter::NoPlainNodes linter
Add a simple haml_lint linter to report all plain nodes. "Plain nodes" in HAML are scritpless plaintext leaf nodes. Add haml-lint_todo to onboard new haml linters. Excludes existing NoPlainNodes lints.
Diffstat (limited to '.haml-lint.yml')
-rw-r--r--.haml-lint.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.haml-lint.yml b/.haml-lint.yml
index e9cc4a91a21..30f94aa8507 100644
--- a/.haml-lint.yml
+++ b/.haml-lint.yml
@@ -1,9 +1,13 @@
+inherits_from:
+ - .haml-lint_todo.yml
# Whether to ignore frontmatter at the beginning of HAML documents for
# frameworks such as Jekyll/Middleman
skip_frontmatter: false
exclude:
- 'vendor/**/*'
- 'spec/**/*'
+require:
+ - './lib/haml_lint/linter/no_plain_nodes.rb'
linters:
AltText: