fix: specify version of react for warning

This commit is contained in:
orzyyyy 2019-08-02 17:44:34 +08:00
parent ce124a36f8
commit 3bfebcaf11

View File

@ -7,6 +7,11 @@ const eslintrc = {
jest: true,
es6: true,
},
settings: {
react: {
version: '16.8',
},
},
parser: '@typescript-eslint/parser',
plugins: ['markdown', 'react', 'babel', 'jest', '@typescript-eslint'],
rules: {