chore: update eslint configuration to avoid lint errors in json files (#42895)

This commit is contained in:
Dunqing 2023-06-13 12:00:39 +08:00 committed by GitHub
parent 1d1f4efcf4
commit 38105982c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -119,6 +119,13 @@ module.exports = {
'react/no-danger': 0,
},
},
{
files: ['**/*.json'],
rules: {
'no-unused-expressions': 0,
'comma-dangle': 0,
},
},
],
rules: {
'react/jsx-one-expression-per-line': 0,