forked from forwardemail/forwardemail.net
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pug-lintrc.js
28 lines (26 loc) · 854 Bytes
/
.pug-lintrc.js
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
/**
* Copyright (c) Forward Email LLC
* SPDX-License-Identifier: BUSL-1.1
*/
module.exports = {
extends: '@ladjs/pug-lint-config-lad',
// <https://github.com/pugjs/pug-lint/blob/master/docs/rules.md>
disallowAttributeConcatentation: true,
disallowAttributeInterpolation: true,
disallowClassAttributeWithStaticValue: true,
disallowDuplicateAttributes: true,
disallowHtmlText: true,
disallowIdAttributeWithStaticValue: true,
disallowLegacyMixinCall: true,
disallowMultipleLineBreaks: true,
disallowStringConcatenation: 'aggressive',
disallowTrailingSpaces: true,
requireLineFeedAtFileEnd: true,
requireLowerCaseTags: true,
requireSpaceAfterCodeOperator: true,
requireStrictEqualityOperators: true,
validateIndentation: 2,
validateLineBreaks: 'LF',
validateSelfClosingTags: true,
validateTemplateString: true
};