Last active
July 23, 2018 16:15
-
-
Save nilsFK/6b4b8c2cf44c6eaa38b4 to your computer and use it in GitHub Desktop.
SublimeLinter settings for Sublime3+htmltidy+Angular
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"user": { | |
"debug": false, | |
"delay": 0.25, | |
"error_color": "D02000", | |
"gutter_theme": "Packages/SublimeLinter/gutter-themes/Danish Royalty/Danish Royalty.gutter-theme", | |
"gutter_theme_excludes": [], | |
"lint_mode": "load/save", | |
"linters": { | |
"htmltidy": { | |
"@disable": false, | |
"args": [], | |
"excludes": [], | |
"ignore_match": [ | |
"adjacent hyphens within comment", | |
".*proprietary attribute", | |
".*lacks \".*?\" attribute", | |
"unescaped & which should be written as &", | |
"<style> isn't allowed in <body> elements", | |
"missing <!DOCTYPE> declaration", | |
"unescaped & or unknown entity", | |
"trimming empty <select>", | |
"trimming empty <i>", | |
"<input> attribute \"id\" has invalid value", | |
"<input> attribute \"type\" has invalid value \"email\"", | |
"<input> attribute \"type\" has invalid value \"number\"", | |
"<input> attribute \"autofocus\" lacks value", | |
"plain text isn't allowed in <head> elements", | |
"inserting implicit <body>", | |
"inserting missing 'title' element", | |
"<script> inserting \"type\" attribute", | |
"<.*?> attribute \".*?\" has invalid value \".*{{.*?}}\"", | |
"'<'.*?letter not allowed here" | |
] | |
} | |
}, | |
"mark_style": "fill", | |
"no_column_highlights_line": false, | |
"passive_warnings": false, | |
"paths": { | |
"linux": [], | |
"osx": [], | |
"windows": [] | |
}, | |
"python_paths": { | |
"linux": [], | |
"osx": [], | |
"windows": [] | |
}, | |
"rc_search_limit": 3, | |
"shell_timeout": 10, | |
"show_errors_on_save": false, | |
"show_marks_in_minimap": true, | |
"syntax_map": { | |
"html (django)": "html", | |
"html (rails)": "html", | |
"html 5": "html", | |
"php": "html", | |
"python django": "python" | |
}, | |
"warning_color": "DDB700", | |
"wrap_find": true | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ignore_match not supported in most recent version of SublimeLinter for some reason.
Instruction on how to recover version 3.10.x which supports ignore_match found here:
SublimeLinter/SublimeLinter#1053 (comment)