Closed rmccar closed 8 months ago
After investigating this tool I can confirm that the nunjucks parser made available to this linter is not working for our repo and unfortunately there isn't any detailed documentation on how to configure this parser.
We need a nunjucks/html linter to keep our code correctly formatted, we have already investigated djlint (https://github.com/ONSdigital/design-system/issues/2760) which doesn't seem to be an option for us at the moment but markuplint seems to be another option.
This card is to investigate the use of markuplint in the DS to see if it meets our needs, it looks like there is a nunjucks plugin that would need to be installed alongside it to get it to work.
markuplint.dev