diff --git a/.eslintrc.js b/.eslintrc.js index d3e46f3..792087a 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -5,6 +5,11 @@ module.exports = { node: true, browser: true }, + globals: { + describe: false, + it: false , + expect: false + }, extends: ['@hckrnews/eslint-config'], parserOptions: { sourceType: "module", diff --git a/src/objects.js b/src/objects.js index 6b24b11..b6e29ef 100644 --- a/src/objects.js +++ b/src/objects.js @@ -7,16 +7,12 @@ module.exports = class Obj { * * @param {object} original * @param {string} prefix - * - * @return {object} */ constructor(original, prefix) { this.original = original; this.prefix = prefix; this.flatObject = {}; this.parse(); - - return this; } /**