Use eslint-env "shared-node-browser" for shared handlebars code

This commit is contained in:
Nils Knappmeier
2022-01-07 18:15:48 +01:00
parent b65135acef
commit 6cfbc2653a
3 changed files with 8 additions and 5 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
/* global global, window */
export default function(Handlebars) {
/* istanbul ignore next */
let root = typeof global !== 'undefined' ? global : window, // eslint-disable-line no-undef
let root = typeof global !== 'undefined' ? global : window,
$Handlebars = root.Handlebars;
/* istanbul ignore next */
Handlebars.noConflict = function() {