mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-22 07:08:02 -05:00
set react version for eslint, to prevent lifecycle method errors
This commit is contained in:
parent
77780bd94c
commit
10cb8512b6
1 changed files with 6 additions and 1 deletions
|
@ -7,5 +7,10 @@ module.exports = {
|
|||
globals: {
|
||||
process: true
|
||||
},
|
||||
plugins: ['json']
|
||||
plugins: ['json'],
|
||||
settings: {
|
||||
react: {
|
||||
version: '16.2' // Prevent 16.3 lifecycle method errors
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue