mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-06-27 21:05:53 +00:00
eslint: fix globalThis undef eslint errors
added env.es2020 = true to config so globalThis is recognized
This commit is contained in:
parent
a69832e3a3
commit
52598fbe55
1 changed files with 2 additions and 1 deletions
|
@ -2,6 +2,7 @@
|
|||
module.exports = {
|
||||
'env': {
|
||||
'browser': true,
|
||||
'es2020': true,
|
||||
'es6': true
|
||||
},
|
||||
'extends': [
|
||||
|
@ -157,4 +158,4 @@ module.exports = {
|
|||
'react/jsx-uses-react': 'error',
|
||||
'react/jsx-wrap-multilines': 'error'
|
||||
}
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue