Skip to content

Commit 38d1f2d

Browse files
Infra/super linter biome json (#315)
* infra: enable biome for json files (v7 upgrade) * fix: align biome formatting with prettier (2 spaces) * chore: update super-linter to v8.3.2 * Update .github/workflows/super-linter.yml Co-authored-by: John Bampton <jbampton@users.noreply.github.com> * fix: enable VALIDATE_JSON to trigger json linting * fix: use correct VALIDATE_BIOME_* variables per review --------- Co-authored-by: John Bampton <jbampton@users.noreply.github.com>
1 parent 7ab932a commit 38d1f2d

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

.github/workflows/super-linter.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,6 @@ jobs:
2626
VALIDATE_EDITORCONFIG: true
2727
VALIDATE_MARKDOWN: true
2828
VALIDATE_YAML: true
29+
VALIDATE_BIOME_LINT: true
30+
VALIDATE_BIOME_FORMAT: true
2931
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

biome.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"$schema": "https://biomejs.dev/schemas/2.3.13/schema.json",
3+
"files": {
4+
"includes": ["**/*.json"]
5+
},
6+
"linter": {
7+
"enabled": true,
8+
"rules": {
9+
"recommended": true
10+
}
11+
},
12+
"formatter": {
13+
"enabled": true,
14+
"indentStyle": "space",
15+
"indentWidth": 2
16+
}
17+
}

0 commit comments

Comments
 (0)