-
Notifications
You must be signed in to change notification settings - Fork 16
HTMLHint options #5
Comments
Options would be very usefull indeed. I'm using the htmlhinter for my html files, but actually each .html file only contains a Should be great if we could use something like a |
Never mind my comment, just found out (by looking at the src) that a .htmlhintrc is actually supported. @thorade, you can create a file named {
"tagname-lowercase": true,
"attr-lowercase": true,
"attr-value-double-quotes": true,
"doctype-first": false,
"tag-pair": true,
"spec-char-escape": true,
"id-unique": true,
"src-not-empty": true,
"attr-no-duplication": true
} (restarting atom is required to make it work) |
That is good to know, thanks for sharing! |
Two more comments: |
The findFile helper should look up your directory tree till it finds a |
Hi guys~ Is it possible set the |
The only setting currently implemented in this package is the path to |
@Arcanemagus thanks~ I think if there is a global configuration will be better . |
If you put a Rules and their options change, so it would be difficult to keep the linter config up to date. I use several |
There's some discussion about restructuring the options over here htmlhint/HTMLHint#279. |
Atm, HTMLHint can only support the rules directory via htmlhint --rulesdir ./rules/ --rules test-rule |
On http://htmlhint.com/ you can chose from a lot of options for linting, could these be added to the Package Settings? For example a checkbox if I want to check for
tag-self-close
also? Currently I can only configure the path to the executable.The text was updated successfully, but these errors were encountered: