We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96de93c commit 5ec5687Copy full SHA for 5ec5687
src/core/core.ts
@@ -20,7 +20,21 @@ const HTMLHINT_LEGACY = 'htmlhint:legacy'
20
21
const DEFAULT_RULESETS: Record<string, Ruleset> = {
22
[HTMLHINT_RECOMMENDED]: {
23
- // TODO: Define recommended rules
+ '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',
38
},
39
[HTMLHINT_LEGACY]: {
40
'attr-lowercase': 'error',
0 commit comments