mirror of
https://github.com/tobspr/shapez.io.git
synced 2024-10-27 20:34:29 +00:00
Fixed dev and devStandalone script (#1503)
* Fixed dev and devStandalone script * Added eslint no-unreachable code rule * Fix small type issue
This commit is contained in:
parent
ed6922f912
commit
0713c850ec
@ -21,5 +21,6 @@ rules:
|
|||||||
prettier/prettier: error
|
prettier/prettier: error
|
||||||
no-undef: off
|
no-undef: off
|
||||||
no-unused-vars: off
|
no-unused-vars: off
|
||||||
|
no-unreachable: off
|
||||||
no-prototype-builtins: off
|
no-prototype-builtins: off
|
||||||
linebreak-style: off
|
linebreak-style: off
|
||||||
|
@ -7,8 +7,8 @@
|
|||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "cd gulp && yarn gulp main.serveDev",
|
"dev": "cd gulp && yarn gulp",
|
||||||
"devStandalone": "cd gulp && yarn gulp main.serveStandalone",
|
"devStandalone": "cd gulp && yarn gulp serve.standalone-steam",
|
||||||
"tslint": "cd src/js && tsc",
|
"tslint": "cd src/js && tsc",
|
||||||
"lint": "eslint src/js",
|
"lint": "eslint src/js",
|
||||||
"prettier-all": "prettier --write src/**/*.* && prettier --write gulp/**/*.*",
|
"prettier-all": "prettier --write src/**/*.* && prettier --write gulp/**/*.*",
|
||||||
|
@ -14,6 +14,11 @@ import { THEME } from "../../theme";
|
|||||||
import { enumHubGoalRewards } from "../../tutorial_goals";
|
import { enumHubGoalRewards } from "../../tutorial_goals";
|
||||||
import { BaseHUDPart } from "../base_hud_part";
|
import { BaseHUDPart } from "../base_hud_part";
|
||||||
|
|
||||||
|
/* typehints:start */
|
||||||
|
// @ts-ignore
|
||||||
|
import { Component } from "../../component";
|
||||||
|
/* typehints:end */
|
||||||
|
|
||||||
const logger = createLogger("hud/mass_selector");
|
const logger = createLogger("hud/mass_selector");
|
||||||
|
|
||||||
export class HUDMassSelector extends BaseHUDPart {
|
export class HUDMassSelector extends BaseHUDPart {
|
||||||
|
Loading…
Reference in New Issue
Block a user