feat: validate jsonc file (#184)

This commit is contained in:
曾明健 2023-05-19 16:29:15 +08:00 committed by GitHub
parent 2db56ec8f0
commit 96dd9a1797
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,7 +59,7 @@ module.exports = {
}, },
overrides: [ overrides: [
{ {
files: ['*.json', '*.json5'], files: ['*.json', '*.json5', '*.jsonc'],
parser: 'jsonc-eslint-parser', parser: 'jsonc-eslint-parser',
rules: { rules: {
'jsonc/array-bracket-spacing': ['error', 'never'], 'jsonc/array-bracket-spacing': ['error', 'never'],