mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-22 15:17:53 -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: {
|
globals: {
|
||||||
process: true
|
process: true
|
||||||
},
|
},
|
||||||
plugins: ['json']
|
plugins: ['json'],
|
||||||
|
settings: {
|
||||||
|
react: {
|
||||||
|
version: '16.2' // Prevent 16.3 lifecycle method errors
|
||||||
|
}
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue