-
Notifications
You must be signed in to change notification settings - Fork 929
Expand file tree
/
Copy pathbiome.json
More file actions
116 lines (116 loc) · 2.85 KB
/
biome.json
File metadata and controls
116 lines (116 loc) · 2.85 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
107
108
109
110
111
112
113
114
115
116
{
"$schema": "https://biomejs.dev/schemas/2.1.3/schema.json",
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true
},
"files": {
"ignoreUnknown": false,
"includes": [
"**",
"!**/node_modules/**",
"!**/browser/**",
"!**/dist/**",
"!**/fixtures/**",
"!**/examples/**",
"!**/__tests__/**",
"!/**/dist/**",
"!/**/es/**",
"!/**/lib/**",
"!/**/liv/**",
"!/**/browser/**",
"!**/jest.config.js",
"!**/jest.setup.js",
"!**/babel.config.js",
"!**/packages/xgplayer-shaka/**",
"!**/packages/xgplayer-helper-transmuxers/**",
"!**/packages/xgplayer-helper-utils/**",
"!**/packages/xgplayer-m4a/**",
"!**/packages/xgplayer-xgvideo/src/decoder/wasm/**",
"!**/packages/xgplayer-xgvideo/src/decoder/webcodec/**",
"!**/packages/xgplayer-xgvideo/src/polyfills/**",
"!**/packages/xgplayer-flv.js/src/flv/**",
"!**/packages/xgplayer-hls.js/src/hls.js/**",
"!**/packages/xgplayer-transmuxer/__tests__/movies/**",
"*.json",
"*.js",
"*.ts",
"*.tsx",
"*.jsx",
"*.cjs",
"*.mjs",
"*.md"
]
},
"formatter": {
"enabled": true,
"indentStyle": "space",
"indentWidth": 2,
"lineWidth": 90,
"lineEnding": "lf"
},
"javascript": {
"formatter": {
"quoteStyle": "single",
"quoteProperties": "asNeeded",
"semicolons": "asNeeded",
"trailingCommas": "none",
"arrowParentheses": "asNeeded",
"bracketSpacing": true,
"bracketSameLine": false
},
"globals": ["__VERSION__", "__DEV__", "module", "fetch", "Headers", "global"]
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"complexity": {
"noExtraBooleanCast": "off",
"noStaticOnlyClass": "off",
"useOptionalChain": "warn",
"noArguments": "off"
},
"correctness": {
"noConstantCondition": "off",
"noConstructorReturn": "error",
"useExhaustiveDependencies": "off"
},
"style": {
"useConst": "warn",
"useTemplate": "warn"
},
"suspicious": {
"noAssignInExpressions": "off",
"noControlCharactersInRegex": "off",
"noDoubleEquals": "error",
"noPrototypeBuiltins": "off",
"noShadowRestrictedNames": "off",
"noExplicitAny": "off",
"noDuplicateClassMembers": "off",
"noGlobalAssign": "off",
"noImplicitAnyLet": "off"
},
"nursery": {
"noUnassignedVariables": "error"
}
}
},
"assist": {
"enabled": true,
"actions": {
"source": {
"organizeImports": "on"
}
}
},
"overrides": [
{
"includes": ["packages/**/*.js"],
"javascript": {
"globals": ["fetch", "Headers", "global"]
}
}
]
}