fix: fixed rules not works (#86)

Co-authored-by: linka <lqadm@qq.com>
This commit is contained in:
liuq 2022-04-26 01:43:26 +08:00 committed by GitHub
parent b8fe1fabea
commit b996c58bac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,9 +44,9 @@ module.exports = {
files: ['*.json', '*.json5'], files: ['*.json', '*.json5'],
parser: 'jsonc-eslint-parser', parser: 'jsonc-eslint-parser',
rules: { rules: {
'quotes': ['error', 'double'], 'jsonc/quotes': ['error', 'double'],
'quote-props': ['error', 'always'], 'jsonc/quote-props': ['error', 'always'],
'comma-dangle': ['error', 'never'], 'jsonc/comma-dangle': ['error', 'never'],
}, },
}, },
{ {