Repository navigation
Expand file tree
/
Copy pathbiome.json
More file actions
106 lines (106 loc) · 2.05 KB
/
Copy pathbiome.json
File metadata and controls
106 lines (106 loc) · 2.05 KB
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
"$schema": "https://biomejs.dev/schemas/2.5.5/schema.json",
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true
},
"files": {
"includes": ["packages/**/src*/**/*.ts", "packages/**/test/**/*.ts"],
"ignoreUnknown": true
},
"formatter": {
"enabled": true,
"indentStyle": "tab",
"lineWidth": 140,
"lineEnding": "lf"
},
"javascript": {
"formatter": {
"quoteStyle": "double",
"semicolons": "always",
"trailingCommas": "es5",
"arrowParentheses": "always"
},
"globals": ["$", "_"]
},
"linter": {
"enabled": true,
"rules": {
"preset": "none",
"complexity": {
"noExcessiveLinesPerFunction": {
"level": "info",
"options": {
"maxLines": 120,
"skipBlankLines": true,
"skipIifes": false
}
},
"useLiteralKeys": "warn",
"useOptionalChain": "error"
},
"correctness": {
"noUnusedVariables": "error"
},
"security": {
"noGlobalEval": "error"
},
"style": {
"noExcessiveLinesPerFile": {
"level": "info",
"options": {
"maxLines": 1000,
"skipBlankLines": true
}
},
"useConsistentMemberAccessibility": {
"level": "error",
"options": {
"accessibility": "explicit"
}
},
"useConst": "error",
"useForOf": "error",
"useFilenamingConvention": {
"level": "error",
"options": {
"strictCase": false,
"filenameCases": ["camelCase", "PascalCase"]
}
}
},
"suspicious": {
"noAsyncPromiseExecutor": "error",
"noConfusingVoidType": "error",
"noConsole": "error",
"noDoubleEquals": "error",
"noShadow": "error",
"noVar": "error"
},
"nursery": {
"noExcessiveNestedCallbacks": {
"level": "error",
"options": {
"max": 5
}
},
"noIdenticalTestTitle": "error",
"noImpliedEval": "error",
"noMisusedPromises": "error"
}
}
},
"overrides": [
{
"includes": ["packages/**/test/**/*.ts"],
"linter": {
"rules": {
"complexity": {
"noExcessiveLinesPerFunction": "off"
}
}
}
}
]
}