-
Notifications
You must be signed in to change notification settings - Fork 81
/
Copy pathismllinter.config.js
47 lines (43 loc) · 1.12 KB
/
ismllinter.config.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// Please check all available configurations and rules
// at https://www.npmjs.com/package/isml-linter.
const config = {
rules: {
// Line by line rules;
// 'enforce-isprint' : {}, // Known issue, will be fixed on v6.0.0;
'enforce-require': {},
'no-br': {},
'no-git-conflict': {},
'no-import-package': {},
'no-inline-style': {},
'no-isscript': {},
'no-space-only-lines': {},
'no-tabs': {},
'no-trailing-spaces': {},
'max-lines': {},
// Tree rules;
indent: {},
'no-redundant-context': {},
'leading-iscontent': {},
'max-depth': {},
'no-embedded-isml': {},
'no-hardcode': {},
'no-require-in-loop': {},
'one-element-per-line': {},
'leading-iscache': {},
'no-deprecated-attrs': {},
'contextual-attrs': {},
'custom-tags': {},
'eslint-to-isscript': {},
'no-iselse-slash': {},
'empty-eof': {},
'align-isset': {},
'disallow-tags': {
values: ['isscript', 'br', 'style', 'iframe'],
},
'enforce-security': {},
'strict-void-elements': {},
// Other
'lowercase-filename': {},
},
};
module.exports = config;