@@ -8,7 +8,8 @@
"globals": {
"window": true,
"sinon": true,
- "define": true
+ "define": true,
+ "require": true
},
"rules": {
"lodash/prefer-lodash-method": [2, {
@@ -4,6 +4,7 @@ if (typeof(require) === 'undefined') {
* We want to save the configuration in a variable so that we can reuse it in
* tests/main.js.
*/
+ // eslint-disable-next-line
require = { // jshint ignore:line
config: function (c) {
config = c;