Fix linting
This commit is contained in:
parent
e5e928d99a
commit
e6376ad059
23 changed files with 33 additions and 58 deletions
|
|
@ -13,15 +13,7 @@
|
|||
"try-build-before": "npx webpack --mode production"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@typescript-eslint/eslint-plugin": "^3.9.1",
|
||||
"@typescript-eslint/parser": "^3.9.1",
|
||||
"clean-webpack-plugin": "^3.0.0",
|
||||
"eslint": "^7.2.0",
|
||||
"eslint-config-prettier": "^6.11.0",
|
||||
"eslint-plugin-import": "^2.21.2",
|
||||
"eslint-plugin-json-format": "^2.0.1",
|
||||
"eslint-plugin-prettier": "^3.1.4",
|
||||
"eslint-plugin-unused-imports": "^0.1.3",
|
||||
"file-loader": "^6.1.0",
|
||||
"gl-matrix": "^3.3.0",
|
||||
"prettier": "^2.0.5",
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@ export class CharacterBase extends GameObject {
|
|||
super(id);
|
||||
}
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
public onShoot(strength: number) {}
|
||||
|
||||
public setHealth(health: number) {
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ export class PlanetBase extends GameObject {
|
|||
this.vertices.length;
|
||||
}
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
public generatedPoints(value: number) {}
|
||||
|
||||
public static createPlanetVertices(
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@ import { serializable } from '../../serialization/serializable';
|
|||
import { GameObject } from '../game-object';
|
||||
import { Id } from '../../communication/id';
|
||||
import { CharacterTeam } from './character-base';
|
||||
import { CommandExecutors } from '../../commands/command-executors';
|
||||
|
||||
@serializable
|
||||
export class ProjectileBase extends GameObject {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue