Skip to content

Instantly share code, notes, and snippets.

@mouton-rebelle
Created December 4, 2015 10:16
Show Gist options
  • Select an option

  • Save mouton-rebelle/f068fc5abbd7e383094a to your computer and use it in GitHub Desktop.

Select an option

Save mouton-rebelle/f068fc5abbd7e383094a to your computer and use it in GitHub Desktop.
My sublime linter tidy config for angular templates
{
"htmltidy": {
"@disable": false,
"args": [
"--doctype=html5",
"--drop-empty-elements=false",
"--drop-empty-paras=false"
],
"ignore_match": [
"missing <!DOCTYPE> declaration",
"inserting implicit <body>",
"inserting missing 'title' element",
"<([a-z]*)> proprietary attribute \"(([a-z]|-)*)\"",
"<(([a-z]|-)*)> is not recognized!",
"trimming empty <(([a-z]|-)*)>",
"discarding unexpected <((/|[a-z]|-)*)>",
"<a> attribute \"href\" lacks value"
],
"excludes": []
}
}
@remeh
Copy link

remeh commented Dec 4, 2015

Merci.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment