Skip to content
This repository has been archived by the owner on Feb 19, 2022. It is now read-only.

Commit

Permalink
Actually enable eslint.
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-roemer committed Mar 1, 2015
1 parent 83cb7ad commit 412bf57
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ var _eslint = function (files, cfg) {
};

gulp.task("eslint:frontend", _eslint([
"console-stream.js"
"simple-console.js"
], {
envs: ["browser"]
}));
Expand Down
5 changes: 4 additions & 1 deletion simple-console.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,14 +116,17 @@
con = con || window.console || {};

// Create simple console object and proxy methods.
/*eslint-disable no-new*/
new SimpleConsole(con);
/*eslint-enable no-new*/

return con;
};

// UMD wrapper: Borrowed from webpack version.
/* istanbul ignore next */
function umd() {
/*global exports define*/
if (typeof exports === "object" && typeof module === "object") {
// CommonJS
module.exports = SimpleConsole;
Expand All @@ -141,4 +144,4 @@

// Wrap.
umd(SimpleConsole);
})(this);
})(this);

0 comments on commit 412bf57

Please sign in to comment.