Browse Source
chore: update eslint configuration to avoid lint errors in json files (#42895)
pull/42990/head
Dunqing
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
7 additions and
0 deletions
-
.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, |
|
|