Skip to content

Commit 19c2987

Browse files
petter-aPetter Andersson
andauthored
add biome configuration (#31)
Co-authored-by: Petter Andersson <petter.andersson@helsingborg.se>
1 parent 3006e3d commit 19c2987

File tree

6 files changed

+339
-304
lines changed

6 files changed

+339
-304
lines changed

biome.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"$schema": "https://biomejs.dev/schemas/2.3.5/schema.json",
3+
"linter": {
4+
"rules": {
5+
"complexity": {
6+
"noStaticOnlyClass": "off"
7+
},
8+
"style": {
9+
"noNonNullAssertion": "off"
10+
}
11+
}
12+
},
13+
"formatter": {
14+
"lineWidth": 120
15+
},
16+
"javascript": {
17+
"formatter": {
18+
"quoteStyle": "single"
19+
}
20+
},
21+
"assist": {
22+
"enabled": true,
23+
"actions": {
24+
"source": {
25+
"organizeImports": "on"
26+
}
27+
}
28+
}
29+
}

composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
"algolia/algoliasearch-client-php": "3.3",
3030
"helsingborg-stad/wputilservice": "^0.2.44"
3131
},
32+
"suggest": {
33+
"helsingborg-stad/municipio": "^6.0.0"
34+
},
3235
"extra": {
3336
"wordpress-install-dir": "wp",
3437
"installer-paths": {

composer.lock

Lines changed: 32 additions & 32 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)