Skip to content

Commit

Permalink
fixing lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Signorini committed Sep 24, 2019
1 parent 46614d1 commit 42169e9
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"no-shadow-restricted-names": 2, // disallow shadowing of names such as arguments
"no-undef": 0, // disallow use of undeclared variables unless mentioned in a /*global */ block
"no-undef-init": 2, // disallow use of undefined when initializing variables
"no-undefined": 2, // disallow use of undefined variable (off by default)
"no-undefined": 0, // disallow use of undefined variable (off by default)
"no-unused-vars": 2, // disallow declaration of variables that are not used in the code
"no-use-before-define": 2, // disallow use of variables before they are defined
"complexity": 0, // specify the maximum cyclomatic complexity allowed in a program (off by default)
Expand Down
2 changes: 0 additions & 2 deletions app/core/repositories/daos/DBConnector.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,6 @@ class Dao extends Model {
}

updateFull(filter, options) {
const opts = _.get(options, 'oUpdater', '');
const opp = `update${opts}Factory`;
this.set('updated_at', new Date());

let entity = filter;
Expand Down
1 change: 0 additions & 1 deletion app/core/repositories/daos/connector/connector.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
'use strict';

const _ = require('lodash');
const mongodb = require('mongodb');
const MongoClient = mongodb.MongoClient;

Expand Down

0 comments on commit 42169e9

Please sign in to comment.