Improve Documentation / Process of Adding HAML Lint Exclusions
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
The following discussion from !29847 (merged) should be addressed:
-
@wortschi started a discussion: (+6 comments) Question: Why did we remove this entire file?
In short- .haml-lint_todo.yml says it is auto-generated;
# This configuration was generated by
# `haml-lint --auto-gen-config`
But executing that command generates an empty file.
In order to generate the the file, I had to;
- enable in the
NoPlainNodeslinter in.haml-lint.yml - run the command
haml-lint --auto-gen-config --auto-gen-exclude-limit 10000(I'm not sure if overriding the limit was actually neccessary) - remove the
NoPlainNodeslinter from.haml-lint.yml - add
enable: trueto.haml-lint_todo.yml
This seems a bit messy. I'm sure it should be possible to fix this, but inheritance doesn't seem to be playing ball for me.
I also suspect redundant entries often get left in .haml-lint_todo.yml
Should there be an issue to look at each exclusion and discuss why and if it needs fixing etc?
Edited by 🤖 GitLab Bot 🤖