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
|
||||
no-undef: off
|
||||
no-unused-vars: off
|
||||
no-unreachable: off
|
||||
no-prototype-builtins: off
|
||||
linebreak-style: off
|
||||
|
@ -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/**/*.*",
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user