mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 06:03:38 +08:00
chore: update eslint configuration to avoid lint errors in json files (#42895)
This commit is contained in:
parent
1d1f4efcf4
commit
38105982c0
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user