-
Notifications
You must be signed in to change notification settings - Fork 1
/
biome.jsonc
43 lines (41 loc) · 1.09 KB
/
biome.jsonc
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
{
// https://biomejs.dev/guides/configure-biome/
// Reference local dependency version.
"$schema": "frontend/node_modules/@biomejs/biome/configuration_schema.json",
"files": {
// For now, only include frontend files.
"include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"],
// Match files, not folders.
"ignore": [
"**/*.json",
"**/*.jsonc",
"**/*.config.ts",
"**/src/routes/backend.ts", // Autogenerated file.
"**/src/permissions/permissions.ts", // Autogenerated file.
"**/build/static/**/*", // Build files from frontend.
"**/dist/assets/**/*", // Build files from frontend.
"**/.history/**/*", // VSCode extension.
"**/staticroot/**/*", // Django static files.
"**/static/**/*", // Django static files.
"**/.venv/**/*"
]
},
"organizeImports": {
"enabled": true
},
"linter": {
"enabled": true,
"rules": {
"recommended": true
}
},
"formatter": {
"indentStyle": "space",
"lineWidth": 120
},
"javascript": {
"formatter": {
"quoteStyle": "single"
}
}
}