mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 14:13:37 +08:00
fix: specify version of react for warning
This commit is contained in:
parent
ce124a36f8
commit
3bfebcaf11
@ -7,6 +7,11 @@ const eslintrc = {
|
|||||||
jest: true,
|
jest: true,
|
||||||
es6: true,
|
es6: true,
|
||||||
},
|
},
|
||||||
|
settings: {
|
||||||
|
react: {
|
||||||
|
version: '16.8',
|
||||||
|
},
|
||||||
|
},
|
||||||
parser: '@typescript-eslint/parser',
|
parser: '@typescript-eslint/parser',
|
||||||
plugins: ['markdown', 'react', 'babel', 'jest', '@typescript-eslint'],
|
plugins: ['markdown', 'react', 'babel', 'jest', '@typescript-eslint'],
|
||||||
rules: {
|
rules: {
|
||||||
|
Loading…
Reference in New Issue
Block a user