ci: Also lint json5 files (#37659)
This commit is contained in:
@@ -119,6 +119,7 @@ jobs:
|
|||||||
|
|
||||||
json:
|
json:
|
||||||
- "**/*.json"
|
- "**/*.json"
|
||||||
|
- "**/*.json5"
|
||||||
|
|
||||||
e2e:
|
e2e:
|
||||||
- "tests/e2e/**"
|
- "tests/e2e/**"
|
||||||
|
|||||||
@@ -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',
|
||||||
|
|||||||
Reference in New Issue
Block a user