Skip to content

Commit 1e5d271

Browse files
committed
infra: enable biome for json files (v7 upgrade)
1 parent 17bb02d commit 1e5d271

5 files changed

Lines changed: 66 additions & 50 deletions

File tree

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"timeout": "10s",
3-
"retryOn429": true,
4-
"retryCount": 10,
5-
"aliveStatusCodes": [200, 206, 999]
2+
"timeout": "10s",
3+
"retryOn429": true,
4+
"retryCount": 10,
5+
"aliveStatusCodes": [200, 206, 999]
66
}

.github/workflows/super-linter.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- uses: actions/checkout@v4
11-
- uses: github/super-linter@v4.6.0
11+
- uses: super-linter/super-linter@v7.2.1
1212
env:
1313
ERROR_ON_MISSING_EXEC_BIT: true
1414
VALIDATE_EDITORCONFIG: true
1515
VALIDATE_YAML: true
16+
VALIDATE_BIOME: true
1617
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

biome.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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+
}
15+
}

package.json

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,42 @@
11
{
2-
"name": "nextcommunity.github.io",
3-
"version": "1.0.0",
4-
"description": "A community for open-source programmers and software engineers.",
5-
"main": "script.js",
6-
"dependencies": {
7-
"@11ty/eleventy": "^3.1.2",
8-
"detect-libc": "^2.1.2",
9-
"enhanced-resolve": "^5.18.4",
10-
"graceful-fs": "^4.2.11",
11-
"is-extglob": "^2.1.1",
12-
"is-glob": "^4.0.3",
13-
"jiti": "^2.6.1",
14-
"js-yaml": "^4.1.1",
15-
"lightningcss": "^1.30.2",
16-
"lightningcss-linux-x64-gnu": "^1.30.2",
17-
"magic-string": "^0.30.21",
18-
"mri": "^1.2.0",
19-
"node-addon-api": "^7.1.1",
20-
"picocolors": "^1.1.1",
21-
"picomatch": "^4.0.3",
22-
"source-map-js": "^1.2.1",
23-
"tailwindcss": "^4.1.18",
24-
"tapable": "^2.3.0"
25-
},
26-
"scripts": {
27-
"start": "eleventy --serve",
28-
"build": "eleventy"
29-
},
30-
"repository": {
31-
"type": "git",
32-
"url": "git+https://github.com/jbampton/NextCommunity.github.io.git"
33-
},
34-
"keywords": [],
35-
"author": "",
36-
"license": "ISC",
37-
"type": "commonjs",
38-
"bugs": {
39-
"url": "https://github.com/jbampton/NextCommunity.github.io/issues"
40-
},
41-
"homepage": "https://github.com/jbampton/NextCommunity.github.io#readme"
2+
"name": "nextcommunity.github.io",
3+
"version": "1.0.0",
4+
"description": "A community for open-source programmers and software engineers.",
5+
"main": "script.js",
6+
"dependencies": {
7+
"@11ty/eleventy": "^3.1.2",
8+
"detect-libc": "^2.1.2",
9+
"enhanced-resolve": "^5.18.4",
10+
"graceful-fs": "^4.2.11",
11+
"is-extglob": "^2.1.1",
12+
"is-glob": "^4.0.3",
13+
"jiti": "^2.6.1",
14+
"js-yaml": "^4.1.1",
15+
"lightningcss": "^1.30.2",
16+
"lightningcss-linux-x64-gnu": "^1.30.2",
17+
"magic-string": "^0.30.21",
18+
"mri": "^1.2.0",
19+
"node-addon-api": "^7.1.1",
20+
"picocolors": "^1.1.1",
21+
"picomatch": "^4.0.3",
22+
"source-map-js": "^1.2.1",
23+
"tailwindcss": "^4.1.18",
24+
"tapable": "^2.3.0"
25+
},
26+
"scripts": {
27+
"start": "eleventy --serve",
28+
"build": "eleventy"
29+
},
30+
"repository": {
31+
"type": "git",
32+
"url": "git+https://github.com/jbampton/NextCommunity.github.io.git"
33+
},
34+
"keywords": [],
35+
"author": "",
36+
"license": "ISC",
37+
"type": "commonjs",
38+
"bugs": {
39+
"url": "https://github.com/jbampton/NextCommunity.github.io/issues"
40+
},
41+
"homepage": "https://github.com/jbampton/NextCommunity.github.io#readme"
4242
}

src/users/users.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"layout": "bio.njk",
3-
"tags": "people",
4-
"eleventyComputed": {
5-
"permalink": "/people/{{ github | slugify }}/index.html"
6-
}
2+
"layout": "bio.njk",
3+
"tags": "people",
4+
"eleventyComputed": {
5+
"permalink": "/people/{{ github | slugify }}/index.html"
6+
}
77
}

0 commit comments

Comments
 (0)