-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pug-lintrc
46 lines (46 loc) · 1.89 KB
/
.pug-lintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
"disallowAttributeConcatenation": true,
"disallowAttributeInterpolation": true,
"disallowBlockExpansion": true,
"disallowClassLiteralsBeforeIdLiterals": true,
"disallowDuplicateAttributes": true,
"disallowIdAttributeWithStaticValue": true,
"disallowIdLiteralsBeforeAttributes": true,
"disallowLegacyMixinCall": true,
"disallowMultipleLineBreaks": true,
"disallowSpacesInsideAttributeBrackets": true,
"disallowSpecificAttributes": ["align", "alink", "autosave", "bgcolor", "border", "clear", "compact", "hspace", "language", "noshade", "nowrap", "start", "text", "version", "vlink", "vspace", "width"],
"disallowSpecificTags": ["acronym", "applet", "b", "basefont", "bgsound", "big", "blink", "center", "dir", "font", "frame", "frameset", "i", "isindex", "marquee", "menu", "multicol", "nextid", "nobr", "noembed", "noframes", "plaintext", "s", "spacer", "strike", "tt", "u", "xmp"],
"disallowStringConcatenation": true,
"disallowStringInterpolation": true,
"disallowTemplateString": true,
"maximumNumberOfLines": 500,
"requireClassLiteralsBeforeAttributes": true,
"requireClassLiteralsBeforeIdLiterals": false,
"requireIdLiteralsBeforeAttributes": true,
"requireLineFeedAtFileEnd": true,
"requireLowerCaseAttributes": true,
"requireLowerCaseTags": true,
"requireSpacesInsideAttributeBrackets": false,
"requireSpecificAttributes": [
{"a": ["href", "title"]},
{"abbr": ["title"]},
{"button": ["type"]},
{"iframe": ["src"]},
{"img": ["alt", "src"]},
{"input": ["name", "type"]},
{"label": ["for"]}
],
"requireStrictEqualityOperators": true,
"validateAttributeQuoteMarks": "\"",
"validateAttributeSeparator": {
"separator": " ",
"multiLineSeparator": "\n "
},
"validateDivTags": true,
"validateExtensions": true,
"validateIndentation": 2,
"validateLineBreaks": "LF",
"validateSelfClosingTags": true,
"validateTemplateString": true
}