-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbiome.jsonc
More file actions
34 lines (34 loc) · 1.07 KB
/
biome.jsonc
File metadata and controls
34 lines (34 loc) · 1.07 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
{
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
"extends": [
"ultracite/biome/core",
"ultracite/biome/next",
"ultracite/biome/react"
],
"linter": {
"rules": {
"style": {
// Project uses PascalCase React component filenames — standard in Next.js/React
"useFilenamingConvention": "off",
// Nested ternaries are acceptable for concise conditional rendering
"noNestedTernary": "off"
},
"security": {
// Used for injecting structured data (JSON-LD) in layout — intentional
"noDangerouslySetInnerHtml": "off"
},
"a11y": {
// MovieCard wraps interactive content — acceptable pattern
"noStaticElementInteractions": "off",
"noNoninteractiveElementInteractions": "off",
"useKeyWithClickEvents": "off"
},
"performance": {
// Regex in component scope is fine for this project's scale
"useTopLevelRegex": "off",
// delete operator usage is minimal and acceptable
"noDelete": "off"
}
}
}
}