0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-05-13 11:05:46 +02:00

ci: Also lint json5 files (#37659)

This commit is contained in:
Nicolas 2026-05-12 00:24:44 +02:00 committed by GitHub
parent de290f2121
commit 71f3e28fe5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 0 deletions

View File

@ -119,6 +119,7 @@ jobs:
json: json:
- "**/*.json" - "**/*.json"
- "**/*.json5"
e2e: e2e:
- "tests/e2e/**" - "tests/e2e/**"

View File

@ -13,6 +13,12 @@ export default defineConfig([
language: 'json/json', language: 'json/json',
extends: ['json/recommended'], extends: ['json/recommended'],
}, },
{
files: ['**/*.json5'],
plugins: {json},
language: 'json/json5',
extends: ['json/recommended'],
},
{ {
files: [ files: [
'tsconfig.json', 'tsconfig.json',