forked from sinamics/ztnet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rome.json
47 lines (47 loc) · 866 Bytes
/
rome.json
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
{
"$schema": "https://docs.rome.tools/schemas/12.1.3/schema.json",
"organizeImports": {
"enabled": false
},
"files": {
"ignore": [
"**/*.js",
"install.ztnet/**/*"
]
},
"formatter": {
"enabled": true,
"formatWithErrors": false,
"indentStyle": "tab",
"indentSize": 2,
"lineWidth": 90,
"ignore": []
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"style": {
"useSelfClosingElements": "off",
"noNonNullAssertion": "off"
},
"a11y": {
"useButtonType": "off",
"noSvgWithoutTitle": "off",
"useValidAnchor": "off",
"useKeyWithMouseEvents": "off",
"useKeyWithClickEvents": "off"
},
"suspicious": {
"noCommentText": "warn",
"noExplicitAny": "error"
},
"nursery": {
"noConsoleLog": "error"
},
"correctness": {
"noUnusedVariables": "error"
}
}
}
}