BigW Consortium Gitlab

Improve .haml-lint.yml, simplify the haml_lint task and remove CHANGELOG entry

Signed-off-by: 's avatarRémy Coutable <remy@rymai.me>
parent 9e34c57d
# Default application configuration that all configurations inherit from.
#
# This is an opinionated list of which hooks are valuable to run and what their
# out of the box settings should be.
# Whether to ignore frontmatter at the beginning of HAML documents for # Whether to ignore frontmatter at the beginning of HAML documents for
# frameworks such as Jekyll/Middleman # frameworks such as Jekyll/Middleman
skip_frontmatter: false skip_frontmatter: false
exclude: exclude:
- 'vendor/**/*' - 'vendor/**/*'
- 'spec/**/*'
linters: linters:
AltText: AltText:
......
...@@ -20,7 +20,6 @@ v 8.12.0 (unreleased) ...@@ -20,7 +20,6 @@ v 8.12.0 (unreleased)
- Fix pagination on user snippets page - Fix pagination on user snippets page
- Fix sorting of issues in API - Fix sorting of issues in API
- Ensure specs on sorting of issues in API are deterministic on MySQL - Ensure specs on sorting of issues in API are deterministic on MySQL
- Use haml_lint for views linting
- Escape search term before passing it to Regexp.new !6241 (winniehell) - Escape search term before passing it to Regexp.new !6241 (winniehell)
- Fix pinned sidebar behavior in smaller viewports !6169 - Fix pinned sidebar behavior in smaller viewports !6169
- Fix file permissions change when updating a file on the Gitlab UI !5979 - Fix file permissions change when updating a file on the Gitlab UI !5979
......
unless Rails.env.production? unless Rails.env.production?
require 'haml_lint/rake_task' require 'haml_lint/rake_task'
HamlLint::RakeTask.new do |t| HamlLint::RakeTask.new
t.config = '.haml-lint.yml'
t.files = ['app/views']
end
end end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment