File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,21 @@ const HTMLHINT_LEGACY = 'htmlhint:legacy'
2020
2121const DEFAULT_RULESETS : Record < string , Ruleset > = {
2222 [ HTMLHINT_RECOMMENDED ] : {
23- // TODO: Define recommended rules
23+ 'alt-require' : 'warn' ,
24+ 'attr-lowercase' : 'warn' ,
25+ 'attr-no-duplication' : 'error' ,
26+ 'attr-no-unnecessary-whitespace' : 'warn' ,
27+ 'attr-unsafe-chars' : 'warn' ,
28+ 'attr-value-double-quotes' : 'warn' ,
29+ 'id-class-ad-disabled' : 'warn' ,
30+ 'id-unique' : 'error' ,
31+ 'space-tab-mixed-disabled' : 'warn' ,
32+ 'spec-char-escape' : 'warn' ,
33+ 'src-not-empty' : 'error' ,
34+ 'tag-pair' : 'warn' ,
35+ 'tagname-lowercase' : 'warn' ,
36+ 'tagname-specialchars' : 'error' ,
37+ 'title-require' : 'warn' ,
2438 } ,
2539 [ HTMLHINT_LEGACY ] : {
2640 'attr-lowercase' : 'error' ,
You can’t perform that action at this time.
0 commit comments