diff --git a/.eslintrc.js b/.eslintrc.js index 11e4c6eb4..7fa4468b3 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -9,13 +9,16 @@ module.exports = { 'digitalbazaar' ], parserOptions: { - ecmaVersion: 5 + ecmaVersion: 5, + sourceType: 'script' }, rules: { // overrides to support ES5, remove when updated to ES20xx 'no-unused-vars': 'warn', 'no-var': 'off', 'object-shorthand': 'off', - 'prefer-const': 'off' + 'prefer-const': 'off', + // fix when code is globally reformatted + 'max-len': 'off' } };