Skip to content

Commit c64c3d8

Browse files
committed
style: 統一されたBiome設定でプロジェクト全体をフォーマット
1 parent 5b4718d commit c64c3d8

1 file changed

Lines changed: 96 additions & 96 deletions

File tree

apps/web/biome.jsonc

Lines changed: 96 additions & 96 deletions
Original file line numberDiff line numberDiff line change
@@ -1,98 +1,98 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
3-
"extends": ["../../packages/config/biome.json"],
4-
"files": {
5-
"ignore": [
6-
".next/**",
7-
"public/sw.js",
8-
"public/workbox-*.js",
9-
"public/worker-*.js",
10-
"public/fallback-*.js",
11-
"public/*.map"
12-
]
13-
},
14-
"linter": {
15-
"rules": {
16-
"suspicious": {
17-
"noReactSpecificProps": "off",
18-
"noConsoleLog": "off"
19-
},
20-
"style": {
21-
"useNamingConvention": "off"
22-
},
23-
"complexity": {
24-
"noExcessiveCognitiveComplexity": {
25-
"level": "warn",
26-
"options": {
27-
"maxAllowedComplexity": 50
28-
}
29-
}
30-
},
31-
"a11y": {
32-
"useKeyWithClickEvents": "warn",
33-
"useButtonType": "warn"
34-
},
35-
"correctness": {
36-
"noUnusedVariables": {
37-
"level": "warn"
38-
},
39-
"useExhaustiveDependencies": "off"
40-
}
41-
}
42-
},
43-
"overrides": [
44-
{
45-
"include": ["*.tsx", "*.ts"],
46-
"linter": {
47-
"rules": {
48-
"correctness": {
49-
"useExhaustiveDependencies": "off"
50-
}
51-
}
52-
}
53-
},
54-
{
55-
"include": ["next.config.ts"],
56-
"linter": {
57-
"rules": {
58-
"style": {
59-
"useNamingConvention": "off"
60-
}
61-
}
62-
}
63-
},
64-
{
65-
"include": ["src/app/api/**/*.ts"],
66-
"linter": {
67-
"rules": {
68-
"style": {
69-
"useNamingConvention": {
70-
"level": "error",
71-
"options": {
72-
"strictCase": false,
73-
"conventions": [
74-
{
75-
"selector": {
76-
"kind": "function"
77-
},
78-
"formats": ["CONSTANT_CASE", "PascalCase"]
79-
}
80-
]
81-
}
82-
}
83-
}
84-
}
85-
}
86-
},
87-
{
88-
"include": ["src/components/organisms/MapComponent/hooks.ts"],
89-
"linter": {
90-
"rules": {
91-
"correctness": {
92-
"useExhaustiveDependencies": "off"
93-
}
94-
}
95-
}
96-
}
97-
]
2+
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
3+
"extends": ["../../packages/config/biome.json"],
4+
"files": {
5+
"ignore": [
6+
".next/**",
7+
"public/sw.js",
8+
"public/workbox-*.js",
9+
"public/worker-*.js",
10+
"public/fallback-*.js",
11+
"public/*.map"
12+
]
13+
},
14+
"linter": {
15+
"rules": {
16+
"suspicious": {
17+
"noReactSpecificProps": "off",
18+
"noConsoleLog": "off"
19+
},
20+
"style": {
21+
"useNamingConvention": "off"
22+
},
23+
"complexity": {
24+
"noExcessiveCognitiveComplexity": {
25+
"level": "warn",
26+
"options": {
27+
"maxAllowedComplexity": 50
28+
}
29+
}
30+
},
31+
"a11y": {
32+
"useKeyWithClickEvents": "warn",
33+
"useButtonType": "warn"
34+
},
35+
"correctness": {
36+
"noUnusedVariables": {
37+
"level": "warn"
38+
},
39+
"useExhaustiveDependencies": "off"
40+
}
41+
}
42+
},
43+
"overrides": [
44+
{
45+
"include": ["*.tsx", "*.ts"],
46+
"linter": {
47+
"rules": {
48+
"correctness": {
49+
"useExhaustiveDependencies": "off"
50+
}
51+
}
52+
}
53+
},
54+
{
55+
"include": ["next.config.ts"],
56+
"linter": {
57+
"rules": {
58+
"style": {
59+
"useNamingConvention": "off"
60+
}
61+
}
62+
}
63+
},
64+
{
65+
"include": ["src/app/api/**/*.ts"],
66+
"linter": {
67+
"rules": {
68+
"style": {
69+
"useNamingConvention": {
70+
"level": "error",
71+
"options": {
72+
"strictCase": false,
73+
"conventions": [
74+
{
75+
"selector": {
76+
"kind": "function"
77+
},
78+
"formats": ["CONSTANT_CASE", "PascalCase"]
79+
}
80+
]
81+
}
82+
}
83+
}
84+
}
85+
}
86+
},
87+
{
88+
"include": ["src/components/organisms/MapComponent/hooks.ts"],
89+
"linter": {
90+
"rules": {
91+
"correctness": {
92+
"useExhaustiveDependencies": "off"
93+
}
94+
}
95+
}
96+
}
97+
]
9898
}

0 commit comments

Comments
 (0)