Upgrade to ECMAScript 2020
This is needed in order to use `globalThis`, see #1894. It also made it possible to remove some old polyfills and fallbacks.
This commit is contained in:
committed by
Jay Linski
parent
da41887377
commit
f6ff3bf52b
+4
-6
@@ -5,7 +5,10 @@ module.exports = {
|
||||
},
|
||||
env: {
|
||||
node: true,
|
||||
es6: true
|
||||
es2020: true
|
||||
},
|
||||
parserOptions: {
|
||||
sourceType: 'module'
|
||||
},
|
||||
rules: {
|
||||
'no-console': 'warn',
|
||||
@@ -57,10 +60,5 @@ module.exports = {
|
||||
// ECMAScript 6 //
|
||||
//--------------//
|
||||
'no-var': 'error'
|
||||
},
|
||||
parserOptions: {
|
||||
sourceType: 'module',
|
||||
ecmaVersion: 6,
|
||||
ecmaFeatures: {}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user