set react version for eslint, to prevent lifecycle method errors

This commit is contained in:
Ben Wheeler 2019-07-21 21:37:30 -04:00
parent 77780bd94c
commit 10cb8512b6

View file

@ -7,5 +7,10 @@ module.exports = {
globals: {
process: true
},
plugins: ['json']
plugins: ['json'],
settings: {
react: {
version: '16.2' // Prevent 16.3 lifecycle method errors
}
}
};