mirror of
https://github.com/go-gitea/gitea.git
synced 2026-05-13 00:16:07 +02:00
ci: Also lint json5 files (#37659)
This commit is contained in:
parent
de290f2121
commit
71f3e28fe5
1
.github/workflows/files-changed.yml
vendored
1
.github/workflows/files-changed.yml
vendored
@ -119,6 +119,7 @@ jobs:
|
||||
|
||||
json:
|
||||
- "**/*.json"
|
||||
- "**/*.json5"
|
||||
|
||||
e2e:
|
||||
- "tests/e2e/**"
|
||||
|
||||
@ -13,6 +13,12 @@ export default defineConfig([
|
||||
language: 'json/json',
|
||||
extends: ['json/recommended'],
|
||||
},
|
||||
{
|
||||
files: ['**/*.json5'],
|
||||
plugins: {json},
|
||||
language: 'json/json5',
|
||||
extends: ['json/recommended'],
|
||||
},
|
||||
{
|
||||
files: [
|
||||
'tsconfig.json',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user