Skip to content

Commit

Permalink
Merge pull request miroRucka#27 from abandonware/sandbox/rzr/review/m…
Browse files Browse the repository at this point in the history
…aster

lib: Lint sources
  • Loading branch information
rzr authored Feb 25, 2020
2 parents 6a2944d + 6d79146 commit 895d1cc
Show file tree
Hide file tree
Showing 4 changed files with 1,062 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ module.exports = {
],
"function-paren-newline": "error",
"generator-star-spacing": "error",
"global-require": "error",
"global-require": "warn",
"guard-for-in": "error",
"handle-callback-err": "error",
"id-blacklist": "error",
Expand Down
2 changes: 1 addition & 1 deletion bh1750.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ var console = require('console');
var i2c = null;
try {
i2c = require('@abandonware/i2c');
} catch(err) {
} catch (err) {
i2c = require('i2c');
}

Expand Down
2 changes: 0 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
'use strict';

module.exports = require('./bh1750.js');
Loading

0 comments on commit 895d1cc

Please sign in to comment.