summaryrefslogtreecommitdiff
path: root/.haml-lint.yml
Commit message (Collapse)AuthorAgeFilesLines
* Ensure haml-lint checks SyntaxRobert Speicher2019-07-181-1/+3
| | | | Also ensures we check Syntax with RuboCop, which is different.
* Move files from lib/haml_lint to haml_lintsh-fix-linter-registry-hamlStan Hu2019-05-211-1/+1
| | | | | | | Files in lib will be eager loaded and hence will require haml_lint to be loaded. Since this is only a development dependency, we can't assume this gem will be available in production, so it should never be loaded in production.
* Merge branch 'haml-lint-no-plain-nodes' into 'master'Jan Provaznik2019-05-211-0/+4
|\ | | | | | | | | Add HamlLint::Linter::NoPlainNodes linter See merge request gitlab-org/gitlab-ce!28265
| * Add HamlLint::Linter::NoPlainNodes linterhaml-lint-no-plain-nodesLuke Bennett2019-05-201-0/+4
| | | | | | | | | | | | | | | | 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.
* | #60818 Correct linting for project root *.yml filesWill Hall2019-05-201-1/+1
|/
* Regenerate Rubocop rulesStan Hu2019-05-051-1/+1
|
* Add more HAML lint rulesStan Hu2019-05-051-0/+2
|
* Add exceptions to HAML lintStan Hu2019-05-051-1/+3
|
* Enable `Lint/UselessAssignment` for haml-lintRobert Speicher2018-08-311-1/+0
|
* Reject ruby interpolation in externalized stringsbvl-correct-interpolation-i18nBob Van Landuyt2018-08-251-3/+50
| | | | | | | | | | | | | | | | When using ruby interpolation in externalized strings, they can't be detected. Which means they will never be presented to be translated. To mix variables into translations we need to use `sprintf` instead. Instead of: _("Hello #{subject}") Use: _("Hello %{subject}) % { subject: 'world' }
* Add custom linter for inline JavaScript to haml_lint (!9742)winniehell2017-08-071-0/+3
|
* Upgrade haml_lint Gem to 0.26.0Winnie Hellmann2017-08-071-0/+15
|
* HAMLLint: Enable `MultilinePipe` ruleKushal Pandya2017-01-241-1/+1
|
* HAMLLint: Enable `RubyComments` ruleKushal Pandya2017-01-241-1/+1
|
* HAMLLint: Enable `UnnecessaryStringOutput` ruleKushal Pandya2017-01-241-1/+1
|
* HAMLLint: Enable `UnnecessaryInterpolation` ruleKushal Pandya2017-01-241-1/+1
|
* HAMLLint: Enable `SpaceInsideHashAttributes` ruleKushal Pandya2016-12-311-1/+1
|
* HAMLLint: Enable `TrailingWhitespace` ruleKushal Pandya2016-12-311-1/+1
|
* HAMLLint: Enable `SpaceBeforeScript` ruleKushal Pandya2016-12-311-1/+1
|
* HAMLLint: Enable `ImplicitDiv` ruleKushal Pandya2016-12-311-1/+1
|
* HAMLLint: Enable `HtmlAttributes` ruleKushal Pandya2016-12-311-1/+1
|
* HAMLLint: Enable `FinalNewline` ruleKushal Pandya2016-12-311-1/+1
|
* HAMLLint: Enable `ClassAttributeWithStaticValue` ruleKushal Pandya2016-12-311-1/+1
|
* HAMLLint: Enable `AltText` ruleKushal Pandya2016-12-311-1/+1
|
* Improve .haml-lint.yml, simplify the haml_lint task and remove CHANGELOG entryrc-use-haml_lintRémy Coutable2016-09-131-5/+1
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Add .haml-lint.ymlRémy Coutable2016-09-131-0/+107
Signed-off-by: Rémy Coutable <remy@rymai.me>