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

Signed-off-by: Rémy Coutable <remy@rymai.me>
This commit is contained in:
Rémy Coutable 2016-09-13 18:56:00 +02:00
parent 9e34c57d5e
commit bb406cadfe
No known key found for this signature in database
GPG Key ID: 46DF07E5CD9E96AB
3 changed files with 2 additions and 10 deletions

View File

@ -1,13 +1,9 @@
# 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
# frameworks such as Jekyll/Middleman
skip_frontmatter: false
exclude:
- 'vendor/**/*'
- 'spec/**/*'
linters:
AltText:

View File

@ -20,7 +20,6 @@ v 8.12.0 (unreleased)
- Fix pagination on user snippets page
- Fix sorting of issues in API
- 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)
- Fix pinned sidebar behavior in smaller viewports !6169
- Fix file permissions change when updating a file on the Gitlab UI !5979

View File

@ -1,8 +1,5 @@
unless Rails.env.production?
require 'haml_lint/rake_task'
HamlLint::RakeTask.new do |t|
t.config = '.haml-lint.yml'
t.files = ['app/views']
end
HamlLint::RakeTask.new
end