Browse Source

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

pull/42990/head
Dunqing 1 year ago
committed by GitHub
parent
commit
38105982c0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      .eslintrc.js

7
.eslintrc.js

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

Loading…
Cancel
Save