From 1e5d27106b26729e2aca2ea01caf2e17442a8602 Mon Sep 17 00:00:00 2001 From: Subham Sangwan Date: Thu, 29 Jan 2026 11:20:29 +0530 Subject: [PATCH 1/6] infra: enable biome for json files (v7 upgrade) --- .github/linters/.markdown-link-check.json | 8 +-- .github/workflows/super-linter.yml | 3 +- biome.json | 15 +++++ package.json | 80 +++++++++++------------ src/users/users.json | 10 +-- 5 files changed, 66 insertions(+), 50 deletions(-) create mode 100644 biome.json diff --git a/.github/linters/.markdown-link-check.json b/.github/linters/.markdown-link-check.json index b7303a27..09ed7c03 100644 --- a/.github/linters/.markdown-link-check.json +++ b/.github/linters/.markdown-link-check.json @@ -1,6 +1,6 @@ { - "timeout": "10s", - "retryOn429": true, - "retryCount": 10, - "aliveStatusCodes": [200, 206, 999] + "timeout": "10s", + "retryOn429": true, + "retryCount": 10, + "aliveStatusCodes": [200, 206, 999] } diff --git a/.github/workflows/super-linter.yml b/.github/workflows/super-linter.yml index de91e51f..3b1239cb 100644 --- a/.github/workflows/super-linter.yml +++ b/.github/workflows/super-linter.yml @@ -8,9 +8,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: github/super-linter@v4.6.0 + - uses: super-linter/super-linter@v7.2.1 env: ERROR_ON_MISSING_EXEC_BIT: true VALIDATE_EDITORCONFIG: true VALIDATE_YAML: true + VALIDATE_BIOME: true GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/biome.json b/biome.json new file mode 100644 index 00000000..18a43045 --- /dev/null +++ b/biome.json @@ -0,0 +1,15 @@ +{ + "$schema": "https://biomejs.dev/schemas/2.3.13/schema.json", + "files": { + "includes": ["**/*.json"] + }, + "linter": { + "enabled": true, + "rules": { + "recommended": true + } + }, + "formatter": { + "enabled": true + } +} diff --git a/package.json b/package.json index ee408a39..410e2c34 100644 --- a/package.json +++ b/package.json @@ -1,42 +1,42 @@ { - "name": "nextcommunity.github.io", - "version": "1.0.0", - "description": "A community for open-source programmers and software engineers.", - "main": "script.js", - "dependencies": { - "@11ty/eleventy": "^3.1.2", - "detect-libc": "^2.1.2", - "enhanced-resolve": "^5.18.4", - "graceful-fs": "^4.2.11", - "is-extglob": "^2.1.1", - "is-glob": "^4.0.3", - "jiti": "^2.6.1", - "js-yaml": "^4.1.1", - "lightningcss": "^1.30.2", - "lightningcss-linux-x64-gnu": "^1.30.2", - "magic-string": "^0.30.21", - "mri": "^1.2.0", - "node-addon-api": "^7.1.1", - "picocolors": "^1.1.1", - "picomatch": "^4.0.3", - "source-map-js": "^1.2.1", - "tailwindcss": "^4.1.18", - "tapable": "^2.3.0" - }, - "scripts": { - "start": "eleventy --serve", - "build": "eleventy" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/jbampton/NextCommunity.github.io.git" - }, - "keywords": [], - "author": "", - "license": "ISC", - "type": "commonjs", - "bugs": { - "url": "https://github.com/jbampton/NextCommunity.github.io/issues" - }, - "homepage": "https://github.com/jbampton/NextCommunity.github.io#readme" + "name": "nextcommunity.github.io", + "version": "1.0.0", + "description": "A community for open-source programmers and software engineers.", + "main": "script.js", + "dependencies": { + "@11ty/eleventy": "^3.1.2", + "detect-libc": "^2.1.2", + "enhanced-resolve": "^5.18.4", + "graceful-fs": "^4.2.11", + "is-extglob": "^2.1.1", + "is-glob": "^4.0.3", + "jiti": "^2.6.1", + "js-yaml": "^4.1.1", + "lightningcss": "^1.30.2", + "lightningcss-linux-x64-gnu": "^1.30.2", + "magic-string": "^0.30.21", + "mri": "^1.2.0", + "node-addon-api": "^7.1.1", + "picocolors": "^1.1.1", + "picomatch": "^4.0.3", + "source-map-js": "^1.2.1", + "tailwindcss": "^4.1.18", + "tapable": "^2.3.0" + }, + "scripts": { + "start": "eleventy --serve", + "build": "eleventy" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/jbampton/NextCommunity.github.io.git" + }, + "keywords": [], + "author": "", + "license": "ISC", + "type": "commonjs", + "bugs": { + "url": "https://github.com/jbampton/NextCommunity.github.io/issues" + }, + "homepage": "https://github.com/jbampton/NextCommunity.github.io#readme" } diff --git a/src/users/users.json b/src/users/users.json index 382b80d7..b8e363a8 100644 --- a/src/users/users.json +++ b/src/users/users.json @@ -1,7 +1,7 @@ { - "layout": "bio.njk", - "tags": "people", - "eleventyComputed": { - "permalink": "/people/{{ github | slugify }}/index.html" - } + "layout": "bio.njk", + "tags": "people", + "eleventyComputed": { + "permalink": "/people/{{ github | slugify }}/index.html" + } } From faf4c087bd2f7e5f8667b0d3ca1b5ec2c008781d Mon Sep 17 00:00:00 2001 From: Subham Sangwan Date: Thu, 29 Jan 2026 11:28:53 +0530 Subject: [PATCH 2/6] fix: align biome formatting with prettier (2 spaces) --- .github/linters/.markdown-link-check.json | 8 +-- biome.json | 28 ++++---- package.json | 80 +++++++++++------------ src/users/users.json | 10 +-- 4 files changed, 64 insertions(+), 62 deletions(-) diff --git a/.github/linters/.markdown-link-check.json b/.github/linters/.markdown-link-check.json index 09ed7c03..b7303a27 100644 --- a/.github/linters/.markdown-link-check.json +++ b/.github/linters/.markdown-link-check.json @@ -1,6 +1,6 @@ { - "timeout": "10s", - "retryOn429": true, - "retryCount": 10, - "aliveStatusCodes": [200, 206, 999] + "timeout": "10s", + "retryOn429": true, + "retryCount": 10, + "aliveStatusCodes": [200, 206, 999] } diff --git a/biome.json b/biome.json index 18a43045..115edc82 100644 --- a/biome.json +++ b/biome.json @@ -1,15 +1,17 @@ { - "$schema": "https://biomejs.dev/schemas/2.3.13/schema.json", - "files": { - "includes": ["**/*.json"] - }, - "linter": { - "enabled": true, - "rules": { - "recommended": true - } - }, - "formatter": { - "enabled": true - } + "$schema": "https://biomejs.dev/schemas/2.3.13/schema.json", + "files": { + "includes": ["**/*.json"] + }, + "linter": { + "enabled": true, + "rules": { + "recommended": true + } + }, + "formatter": { + "enabled": true, + "indentStyle": "space", + "indentWidth": 2 + } } diff --git a/package.json b/package.json index f6c8a646..39edd7e8 100644 --- a/package.json +++ b/package.json @@ -1,42 +1,42 @@ { - "name": "nextcommunity.github.io", - "version": "1.0.0", - "description": "A community for open-source programmers and software engineers.", - "main": "script.js", - "dependencies": { - "@11ty/eleventy": "^3.1.2", - "detect-libc": "^2.1.2", - "enhanced-resolve": "^5.18.4", - "graceful-fs": "^4.2.11", - "is-extglob": "^2.1.1", - "is-glob": "^4.0.3", - "jiti": "^2.6.1", - "js-yaml": "^4.1.1", - "lightningcss": "^1.31.1", - "lightningcss-linux-x64-gnu": "^1.30.2", - "magic-string": "^0.30.21", - "mri": "^1.2.0", - "node-addon-api": "^8.5.0", - "picocolors": "^1.1.1", - "picomatch": "^4.0.3", - "source-map-js": "^1.2.1", - "tailwindcss": "^4.1.18", - "tapable": "^2.3.0" - }, - "scripts": { - "start": "eleventy --serve", - "build": "eleventy" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/NextCommunity/NextCommunity.github.io.git" - }, - "keywords": [], - "author": "", - "license": "ISC", - "type": "commonjs", - "bugs": { - "url": "https://github.com/NextCommunity/NextCommunity.github.io/issues" - }, - "homepage": "https://github.com/NextCommunity/NextCommunity.github.io#readme" + "name": "nextcommunity.github.io", + "version": "1.0.0", + "description": "A community for open-source programmers and software engineers.", + "main": "script.js", + "dependencies": { + "@11ty/eleventy": "^3.1.2", + "detect-libc": "^2.1.2", + "enhanced-resolve": "^5.18.4", + "graceful-fs": "^4.2.11", + "is-extglob": "^2.1.1", + "is-glob": "^4.0.3", + "jiti": "^2.6.1", + "js-yaml": "^4.1.1", + "lightningcss": "^1.31.1", + "lightningcss-linux-x64-gnu": "^1.30.2", + "magic-string": "^0.30.21", + "mri": "^1.2.0", + "node-addon-api": "^8.5.0", + "picocolors": "^1.1.1", + "picomatch": "^4.0.3", + "source-map-js": "^1.2.1", + "tailwindcss": "^4.1.18", + "tapable": "^2.3.0" + }, + "scripts": { + "start": "eleventy --serve", + "build": "eleventy" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/NextCommunity/NextCommunity.github.io.git" + }, + "keywords": [], + "author": "", + "license": "ISC", + "type": "commonjs", + "bugs": { + "url": "https://github.com/NextCommunity/NextCommunity.github.io/issues" + }, + "homepage": "https://github.com/NextCommunity/NextCommunity.github.io#readme" } diff --git a/src/users/users.json b/src/users/users.json index b8e363a8..382b80d7 100644 --- a/src/users/users.json +++ b/src/users/users.json @@ -1,7 +1,7 @@ { - "layout": "bio.njk", - "tags": "people", - "eleventyComputed": { - "permalink": "/people/{{ github | slugify }}/index.html" - } + "layout": "bio.njk", + "tags": "people", + "eleventyComputed": { + "permalink": "/people/{{ github | slugify }}/index.html" + } } From 9fa74c2d4e7ec5b8b3131a88d3ddd61448a8cd2d Mon Sep 17 00:00:00 2001 From: Subham Sangwan Date: Thu, 29 Jan 2026 11:32:21 +0530 Subject: [PATCH 3/6] chore: update super-linter to v8.3.2 --- .github/workflows/super-linter.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/super-linter.yml b/.github/workflows/super-linter.yml index 4652ba5d..35d2bd43 100644 --- a/.github/workflows/super-linter.yml +++ b/.github/workflows/super-linter.yml @@ -20,7 +20,7 @@ jobs: fetch-depth: 0 persist-credentials: false - name: Super-Linter - uses: super-linter/super-linter@v7.2.1 + uses: super-linter/super-linter@v8.3.2 env: ERROR_ON_MISSING_EXEC_BIT: true VALIDATE_EDITORCONFIG: true From 1309a0559820bacaf87d41d0df6379b04dc354f9 Mon Sep 17 00:00:00 2001 From: Subham Date: Thu, 29 Jan 2026 12:00:57 +0530 Subject: [PATCH 4/6] Update .github/workflows/super-linter.yml Co-authored-by: John Bampton --- .github/workflows/super-linter.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/super-linter.yml b/.github/workflows/super-linter.yml index 35d2bd43..53df401e 100644 --- a/.github/workflows/super-linter.yml +++ b/.github/workflows/super-linter.yml @@ -13,7 +13,7 @@ jobs: contents: read steps: - name: Checkout Code - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: # super-linter needs the full git history to get the # list of files that changed across commits From ebda76de1bc88b0cfe7071698e8f9b80b7d437bb Mon Sep 17 00:00:00 2001 From: Subham Sangwan Date: Thu, 29 Jan 2026 12:09:00 +0530 Subject: [PATCH 5/6] fix: enable VALIDATE_JSON to trigger json linting --- .github/workflows/super-linter.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/super-linter.yml b/.github/workflows/super-linter.yml index 53df401e..83e2cc69 100644 --- a/.github/workflows/super-linter.yml +++ b/.github/workflows/super-linter.yml @@ -26,5 +26,6 @@ jobs: VALIDATE_EDITORCONFIG: true VALIDATE_MARKDOWN: true VALIDATE_YAML: true + VALIDATE_JSON: true VALIDATE_BIOME: true GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From fe0f0c3305aa93136f382225d6e8d342d32f7c39 Mon Sep 17 00:00:00 2001 From: Subham Sangwan Date: Thu, 29 Jan 2026 12:19:48 +0530 Subject: [PATCH 6/6] fix: use correct VALIDATE_BIOME_* variables per review --- .github/workflows/super-linter.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/super-linter.yml b/.github/workflows/super-linter.yml index 83e2cc69..5ae00d52 100644 --- a/.github/workflows/super-linter.yml +++ b/.github/workflows/super-linter.yml @@ -26,6 +26,6 @@ jobs: VALIDATE_EDITORCONFIG: true VALIDATE_MARKDOWN: true VALIDATE_YAML: true - VALIDATE_JSON: true - VALIDATE_BIOME: true + VALIDATE_BIOME_LINT: true + VALIDATE_BIOME_FORMAT: true GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}