Skip to content

Commit

Permalink
Cleanup code
Browse files Browse the repository at this point in the history
  • Loading branch information
w3nl committed Feb 9, 2021
1 parent 4f69aa6 commit 625db83
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ module.exports = {
node: true,
browser: true
},
globals: {
describe: false,
it: false ,
expect: false
},
extends: ['@hckrnews/eslint-config'],
parserOptions: {
sourceType: "module",
Expand Down
4 changes: 0 additions & 4 deletions src/objects.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

/**
Expand Down

0 comments on commit 625db83

Please sign in to comment.