Skip to content

Commit

Permalink
Fixed dev and devStandalone script (#1503)
Browse files Browse the repository at this point in the history
* Fixed dev and devStandalone script

* Added eslint no-unreachable code rule

* Fix small type issue
  • Loading branch information
DJ1TJOO committed Dec 29, 2022
1 parent ed6922f commit 0713c85
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@ rules:
prettier/prettier: error
no-undef: off
no-unused-vars: off
no-unreachable: off
no-prototype-builtins: off
linebreak-style: off
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"license": "MIT",
"private": true,
"scripts": {
"dev": "cd gulp && yarn gulp main.serveDev",
"devStandalone": "cd gulp && yarn gulp main.serveStandalone",
"dev": "cd gulp && yarn gulp",
"devStandalone": "cd gulp && yarn gulp serve.standalone-steam",
"tslint": "cd src/js && tsc",
"lint": "eslint src/js",
"prettier-all": "prettier --write src/**/*.* && prettier --write gulp/**/*.*",
Expand Down
5 changes: 5 additions & 0 deletions src/js/game/hud/parts/mass_selector.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ import { THEME } from "../../theme";
import { enumHubGoalRewards } from "../../tutorial_goals";
import { BaseHUDPart } from "../base_hud_part";

/* typehints:start */
// @ts-ignore
import { Component } from "../../component";
/* typehints:end */

const logger = createLogger("hud/mass_selector");

export class HUDMassSelector extends BaseHUDPart {
Expand Down

0 comments on commit 0713c85

Please sign in to comment.