-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathbiome.json
More file actions
94 lines (94 loc) · 2.53 KB
/
Copy pathbiome.json
File metadata and controls
94 lines (94 loc) · 2.53 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
{
"$schema": "https://biomejs.dev/schemas/2.2.0/schema.json",
"assist": {
"actions": {
"source": {
"organizeImports": "on"
}
}
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"complexity": {
"noForEach": "warn",
"useArrowFunction": "off"
},
"correctness": {
"noChildrenProp": "warn",
"noInnerDeclarations": "warn",
"noUnusedVariables": "warn",
"useExhaustiveDependencies": "warn"
},
"security": {
"noDangerouslySetInnerHtml": "warn"
},
"style": {
"noImplicitBoolean": "warn",
"noInferrableTypes": "error",
"noNegationElse": "off",
"noNonNullAssertion": "warn",
"noParameterAssign": "warn",
"noRestrictedGlobals": {
"level": "error",
"options": {
"deniedGlobals": {
"isFinite": "Use Number.isFinite instead",
"isNaN": "Use Number.isNaN instead"
}
}
},
"noUnusedTemplateLiteral": "error",
"noUselessElse": "error",
"useAsConstAssertion": "error",
"useBlockStatements": "off",
"useCollapsedElseIf": "warn",
"useConst": "warn",
"useDefaultParameterLast": "warn",
"useEnumInitializers": "error",
"useExponentiationOperator": "warn",
"useFragmentSyntax": "warn",
"useImportType": "off",
"useNodejsImportProtocol": "warn",
"useNumberNamespace": "warn",
"useSelfClosingElements": "error",
"useShorthandAssign": "warn",
"useSingleVarDeclarator": "warn"
},
"suspicious": {
"noArrayIndexKey": "warn",
"noConsole": "off",
"noExplicitAny": "off",
"useAwait": "warn"
},
"nursery": {}
}
},
"formatter": {
"enabled": true,
"formatWithErrors": true,
"indentStyle": "space",
"indentWidth": 2,
"lineWidth": 140,
"lineEnding": "lf"
},
"javascript": {
"jsxRuntime": "transparent",
"formatter": {
"quoteStyle": "single",
"trailingCommas": "es5",
"semicolons": "asNeeded"
},
"globals": ["test", "describe", "it", "expect", "beforeEach", "afterEach", "beforeAll", "afterAll", "vi"]
},
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true
},
"files": {
"maxSize": 100485760,
"includes": ["**", "!**/node_modules", "!**/dist", "!**/.github", "!**/coverage", "!**/build", "!**/.next", "!**/.turbo", "!**/*.d.ts"]
}
}