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
@@ -0,0 +1,37 @@
|
||||
module.exports = {
|
||||
globals: {
|
||||
CompilerContext: true,
|
||||
Handlebars: true,
|
||||
handlebarsEnv: true,
|
||||
shouldCompileTo: true,
|
||||
shouldCompileToWithPartials: true,
|
||||
shouldThrow: true,
|
||||
expectTemplate: true,
|
||||
compileWithPartials: true,
|
||||
suite: true,
|
||||
equal: true,
|
||||
equals: true,
|
||||
test: true,
|
||||
testBoth: true,
|
||||
raises: true,
|
||||
deepEqual: true,
|
||||
start: true,
|
||||
stop: true,
|
||||
ok: true,
|
||||
sinon: true,
|
||||
strictEqual: true,
|
||||
define: true,
|
||||
expect: true,
|
||||
chai: true
|
||||
},
|
||||
env: {
|
||||
mocha: true
|
||||
},
|
||||
rules: {
|
||||
// Disabling for tests, for now.
|
||||
'no-path-concat': 'off',
|
||||
|
||||
'no-var': 'off',
|
||||
'dot-notation': 'off'
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user