-
Notifications
You must be signed in to change notification settings - Fork 369
/
biome.json
120 lines (120 loc) · 3.39 KB
/
biome.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
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
117
118
119
120
{
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"vcs": {
"enabled": true,
"defaultBranch": "main",
"clientKind": "git",
"useIgnoreFile": true
},
"formatter": {
"enabled": true,
"indentStyle": "space",
"ignore": [
"package.json",
"packages/document/main-doc/scripts/summary.*.json",
"packages/runtime/plugin-runtime/tests/document/feature/document/_tempTsconfig.json",
"packages/generator/sandpack-react/src/templates/**",
"tests/integration/swc/fixtures/minify-css/src/bootstrap.css",
"tests/integration/swc/fixtures/config-function/src/bootstrap.css",
"packages/runtime/plugin-garfish/type.d.ts",
"packages/runtime/plugin-runtime/static/**"
]
},
"css": {
"formatter": {
"quoteStyle": "single"
}
},
"javascript": {
"formatter": {
"quoteStyle": "single",
"arrowParentheses": "asNeeded",
"jsxQuoteStyle": "double",
"lineWidth": 80
}
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"style": {
"useNodejsImportProtocol": "off",
"noNonNullAssertion": "off",
"noUnusedTemplateLiteral": "off",
"noUselessElse": "off",
"useNumberNamespace": "off"
},
"suspicious": {
"noExplicitAny": "off",
"noConfusingVoidType": "off",
"noImplicitAnyLet": "off",
"noAssignInExpressions": "off",
"noPrototypeBuiltins": "off",
"noRedeclare": "off",
"noDuplicateFontNames": "off",
"noShorthandPropertyOverrides": "off",
"noDuplicateAtImportRules": "off"
},
"complexity": {
"noForEach": "off",
"useArrowFunction": "off",
"useFlatMap": "off",
"noBannedTypes": "off"
},
"a11y": {
"noSvgWithoutTitle": "off",
"useAltText": "off",
"useHtmlLang": "off",
"useKeyWithClickEvents": "off",
"noBlankTarget": "off",
"useButtonType": "off",
"useIframeTitle": "off"
},
"performance": {
"noDelete": "off",
"noAccumulatingSpread": "off"
},
"security": {
"noDangerouslySetInnerHtml": "off"
},
"correctness": {
"useExhaustiveDependencies": "off",
"noUnnecessaryContinue": "off",
"noUnreachable": "off",
"noInvalidUseBeforeDeclaration": "off",
"noUnknownProperty": "off"
}
}
},
"organizeImports": {
"enabled": true
},
"files": {
"ignoreUnknown": true,
"ignore": [
".vscode/**/*",
".nx/**/*",
"coverage/**/*",
"node_modules/**/*",
"dist/**/*",
"dist-1/**/*",
"dist-2/**/*",
"dist-swc/**/*",
"output/**/*",
".output/**/*",
".netlify/**/*",
"lib/**/*",
"compiled/**/*",
".rpt2_cache/**/*",
"packages/runtime/plugin-garfish/tests/**/*",
"packages/runtime/plugin-runtime/tests/document/feature/document/_main.html.js",
"packages/server/core/tests/fixtures/mock/cjs/config/mock/**/*",
"packages/server/server/tests/fixtures/mock/cjs/config/mock/**/*",
"tests/integration/ssr/fixtures/preload/**/*",
"tests/integration/swc/fixtures/transform-fail/src/App.jsx",
"tests/integration/module/plugins/vue/**/*",
"packages/module/plugin-module-node-polyfill/src/globals.js",
"packages/runtime/plugin-runtime/static/**"
]
}
}