Skip to content

Commit

Permalink
Now lint modules too
Browse files Browse the repository at this point in the history
  • Loading branch information
gfwilliams committed Nov 10, 2022
1 parent 957f8f9 commit 38ec9ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/ClockFace.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ ClockFace.prototype.start = function() {
/* Some widgets want to know if we're in a clock or not (like chrono, widget clock, etc). Normally
.CLOCK is set by Bangle.setUI('clock') but we want to load widgets so we can check appRect and *then*
call setUI. see #1864 */
Bangle.CLOCK = 1;
Bangle.CLOCK = 1;
if (this.loadWidgets) Bangle.loadWidgets();
if (this.init) this.init.apply(this);
if (this._upDown) Bangle.setUI("clockupdown", d=>this._upDown.apply(this,[d]));
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},
"scripts": {
"lint-apps": "eslint ./apps --ext .js",
"test": "node bin/sanitycheck.js && eslint ./apps --ext .js",
"test": "node bin/sanitycheck.js && eslint ./apps --ext .js && eslint ./modules --ext .js",
"update-local-apps": "./bin/create_apps_json.sh apps.local.json",
"local": "npm-watch & npx http-server -a localhost -c-1",
"start": "npx http-server -c-1"
Expand Down

0 comments on commit 38ec9ae

Please sign in to comment.