fix linting

pull/40/head
Florian Hartwich 2018-07-03 11:38:20 +02:00
parent e92cb6d59f
commit 55a87756a0
7 changed files with 4071 additions and 4033 deletions

3296
api/package-lock.json generated

File diff suppressed because it is too large Load Diff

168
package-lock.json generated
View File

@ -10,10 +10,10 @@
"integrity": "sha1-RBT/dKUIecII7l/cgm4ywwNUnto=", "integrity": "sha1-RBT/dKUIecII7l/cgm4ywwNUnto=",
"dev": true, "dev": true,
"requires": { "requires": {
"co": "4.6.0", "co": "^4.6.0",
"fast-deep-equal": "1.0.0", "fast-deep-equal": "^1.0.0",
"fast-json-stable-stringify": "2.0.0", "fast-json-stable-stringify": "^2.0.0",
"json-schema-traverse": "0.3.1" "json-schema-traverse": "^0.3.0"
} }
}, },
"ansi-regex": { "ansi-regex": {
@ -65,7 +65,7 @@
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
"tweetnacl": "0.14.5" "tweetnacl": "^0.14.3"
} }
}, },
"boom": { "boom": {
@ -74,7 +74,7 @@
"integrity": "sha1-T4owBctKfjiJ90kDD9JbluAdLjE=", "integrity": "sha1-T4owBctKfjiJ90kDD9JbluAdLjE=",
"dev": true, "dev": true,
"requires": { "requires": {
"hoek": "4.2.0" "hoek": "4.x.x"
} }
}, },
"caseless": { "caseless": {
@ -89,11 +89,11 @@
"integrity": "sha1-Zjs6ZItotV0EaQ1JFnqoN4WPIXQ=", "integrity": "sha1-Zjs6ZItotV0EaQ1JFnqoN4WPIXQ=",
"dev": true, "dev": true,
"requires": { "requires": {
"ansi-styles": "1.1.0", "ansi-styles": "^1.1.0",
"escape-string-regexp": "1.0.5", "escape-string-regexp": "^1.0.0",
"has-ansi": "0.1.0", "has-ansi": "^0.1.0",
"strip-ansi": "0.3.0", "strip-ansi": "^0.3.0",
"supports-color": "0.2.0" "supports-color": "^0.2.0"
}, },
"dependencies": { "dependencies": {
"supports-color": { "supports-color": {
@ -116,7 +116,7 @@
"integrity": "sha1-k4NwpXtKUd6ix3wV1cX9+JUWQAk=", "integrity": "sha1-k4NwpXtKUd6ix3wV1cX9+JUWQAk=",
"dev": true, "dev": true,
"requires": { "requires": {
"delayed-stream": "1.0.0" "delayed-stream": "~1.0.0"
} }
}, },
"commander": { "commander": {
@ -133,12 +133,12 @@
"requires": { "requires": {
"chalk": "0.5.1", "chalk": "0.5.1",
"commander": "2.6.0", "commander": "2.6.0",
"date-fns": "1.29.0", "date-fns": "^1.23.0",
"lodash": "4.17.4", "lodash": "^4.5.1",
"rx": "2.3.24", "rx": "2.3.24",
"spawn-command": "0.0.2-1", "spawn-command": "^0.0.2-1",
"supports-color": "3.2.3", "supports-color": "^3.2.3",
"tree-kill": "1.2.0" "tree-kill": "^1.1.0"
} }
}, },
"core-js": { "core-js": {
@ -159,7 +159,7 @@
"integrity": "sha1-qJ+7Ig9c4l7FboxKqKT9e1sNKf4=", "integrity": "sha1-qJ+7Ig9c4l7FboxKqKT9e1sNKf4=",
"dev": true, "dev": true,
"requires": { "requires": {
"boom": "5.2.0" "boom": "5.x.x"
}, },
"dependencies": { "dependencies": {
"boom": { "boom": {
@ -168,7 +168,7 @@
"integrity": "sha512-Z5BTk6ZRe4tXXQlkqftmsAUANpXmuwlsF5Oov8ThoMbQRzdGTA1ngYRW160GexgOgjsFOKJz0LYhoNi+2AMBUw==", "integrity": "sha512-Z5BTk6ZRe4tXXQlkqftmsAUANpXmuwlsF5Oov8ThoMbQRzdGTA1ngYRW160GexgOgjsFOKJz0LYhoNi+2AMBUw==",
"dev": true, "dev": true,
"requires": { "requires": {
"hoek": "4.2.0" "hoek": "4.x.x"
} }
} }
} }
@ -179,7 +179,7 @@
"integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=",
"dev": true, "dev": true,
"requires": { "requires": {
"assert-plus": "1.0.0" "assert-plus": "^1.0.0"
} }
}, },
"date-fns": { "date-fns": {
@ -201,7 +201,7 @@
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
"jsbn": "0.1.1" "jsbn": "~0.1.0"
} }
}, },
"escape-string-regexp": { "escape-string-regexp": {
@ -246,9 +246,9 @@
"integrity": "sha1-b7lPvXGIUwbXPRXMSX/kzE7NRL8=", "integrity": "sha1-b7lPvXGIUwbXPRXMSX/kzE7NRL8=",
"dev": true, "dev": true,
"requires": { "requires": {
"asynckit": "0.4.0", "asynckit": "^0.4.0",
"combined-stream": "1.0.5", "combined-stream": "^1.0.5",
"mime-types": "2.1.17" "mime-types": "^2.1.12"
} }
}, },
"getpass": { "getpass": {
@ -257,7 +257,7 @@
"integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=",
"dev": true, "dev": true,
"requires": { "requires": {
"assert-plus": "1.0.0" "assert-plus": "^1.0.0"
} }
}, },
"har-schema": { "har-schema": {
@ -272,8 +272,8 @@
"integrity": "sha1-ukAsJmGU8VlW7xXg/PJCmT9qff0=", "integrity": "sha1-ukAsJmGU8VlW7xXg/PJCmT9qff0=",
"dev": true, "dev": true,
"requires": { "requires": {
"ajv": "5.3.0", "ajv": "^5.1.0",
"har-schema": "2.0.0" "har-schema": "^2.0.0"
} }
}, },
"has-ansi": { "has-ansi": {
@ -282,7 +282,7 @@
"integrity": "sha1-hPJlqujA5qiKEtcCKJS3VoiUxi4=", "integrity": "sha1-hPJlqujA5qiKEtcCKJS3VoiUxi4=",
"dev": true, "dev": true,
"requires": { "requires": {
"ansi-regex": "0.2.1" "ansi-regex": "^0.2.0"
} }
}, },
"has-flag": { "has-flag": {
@ -297,10 +297,10 @@
"integrity": "sha512-miowhl2+U7Qle4vdLqDdPt9m09K6yZhkLDTWGoUiUzrQCn+mHHSmfJgAyGaLRZbPmTqfFFjRV1QWCW0VWUJBbQ==", "integrity": "sha512-miowhl2+U7Qle4vdLqDdPt9m09K6yZhkLDTWGoUiUzrQCn+mHHSmfJgAyGaLRZbPmTqfFFjRV1QWCW0VWUJBbQ==",
"dev": true, "dev": true,
"requires": { "requires": {
"boom": "4.3.1", "boom": "4.x.x",
"cryptiles": "3.1.2", "cryptiles": "3.x.x",
"hoek": "4.2.0", "hoek": "4.x.x",
"sntp": "2.1.0" "sntp": "2.x.x"
} }
}, },
"hoek": { "hoek": {
@ -315,9 +315,9 @@
"integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=",
"dev": true, "dev": true,
"requires": { "requires": {
"assert-plus": "1.0.0", "assert-plus": "^1.0.0",
"jsprim": "1.4.1", "jsprim": "^1.2.2",
"sshpk": "1.13.1" "sshpk": "^1.7.0"
} }
}, },
"is-typedarray": { "is-typedarray": {
@ -350,11 +350,11 @@
"integrity": "sha1-M4WseQGSEwy+Iw6ALsAskhW7/to=", "integrity": "sha1-M4WseQGSEwy+Iw6ALsAskhW7/to=",
"dev": true, "dev": true,
"requires": { "requires": {
"hoek": "4.2.0", "hoek": "4.x.x",
"isemail": "2.2.1", "isemail": "2.x.x",
"items": "2.1.1", "items": "2.x.x",
"moment": "2.19.1", "moment": "2.x.x",
"topo": "2.0.2" "topo": "2.x.x"
} }
}, },
"jsbn": { "jsbn": {
@ -412,7 +412,7 @@
"integrity": "sha1-Cdejk/A+mVp5+K+Fe3Cp4KsWVXo=", "integrity": "sha1-Cdejk/A+mVp5+K+Fe3Cp4KsWVXo=",
"dev": true, "dev": true,
"requires": { "requires": {
"mime-db": "1.30.0" "mime-db": "~1.30.0"
} }
}, },
"minimist": { "minimist": {
@ -457,28 +457,28 @@
"integrity": "sha512-lR3gD69osqm6EYLk9wB/G1W/laGWjzH90t1vEa2xuxHD5KUrSzp9pUSfTm+YC5Nxt2T8nMPEvKlhbQayU7bgFw==", "integrity": "sha512-lR3gD69osqm6EYLk9wB/G1W/laGWjzH90t1vEa2xuxHD5KUrSzp9pUSfTm+YC5Nxt2T8nMPEvKlhbQayU7bgFw==",
"dev": true, "dev": true,
"requires": { "requires": {
"aws-sign2": "0.7.0", "aws-sign2": "~0.7.0",
"aws4": "1.6.0", "aws4": "^1.6.0",
"caseless": "0.12.0", "caseless": "~0.12.0",
"combined-stream": "1.0.5", "combined-stream": "~1.0.5",
"extend": "3.0.1", "extend": "~3.0.1",
"forever-agent": "0.6.1", "forever-agent": "~0.6.1",
"form-data": "2.3.1", "form-data": "~2.3.1",
"har-validator": "5.0.3", "har-validator": "~5.0.3",
"hawk": "6.0.2", "hawk": "~6.0.2",
"http-signature": "1.2.0", "http-signature": "~1.2.0",
"is-typedarray": "1.0.0", "is-typedarray": "~1.0.0",
"isstream": "0.1.2", "isstream": "~0.1.2",
"json-stringify-safe": "5.0.1", "json-stringify-safe": "~5.0.1",
"mime-types": "2.1.17", "mime-types": "~2.1.17",
"oauth-sign": "0.8.2", "oauth-sign": "~0.8.2",
"performance-now": "2.1.0", "performance-now": "^2.1.0",
"qs": "6.5.1", "qs": "~6.5.1",
"safe-buffer": "5.1.1", "safe-buffer": "^5.1.1",
"stringstream": "0.0.5", "stringstream": "~0.0.5",
"tough-cookie": "2.3.3", "tough-cookie": "~2.3.3",
"tunnel-agent": "0.6.0", "tunnel-agent": "^0.6.0",
"uuid": "3.1.0" "uuid": "^3.1.0"
} }
}, },
"rx": { "rx": {
@ -499,7 +499,7 @@
"integrity": "sha512-FL1b58BDrqS3A11lJ0zEdnJ3UOKqVxawAkF3k7F0CVN7VQ34aZrV+G8BZ1WC9ZL7NyrwsW0oviwsWDgRuVYtJg==", "integrity": "sha512-FL1b58BDrqS3A11lJ0zEdnJ3UOKqVxawAkF3k7F0CVN7VQ34aZrV+G8BZ1WC9ZL7NyrwsW0oviwsWDgRuVYtJg==",
"dev": true, "dev": true,
"requires": { "requires": {
"hoek": "4.2.0" "hoek": "4.x.x"
} }
}, },
"spawn-command": { "spawn-command": {
@ -514,14 +514,14 @@
"integrity": "sha1-US322mKHFEMW3EwY/hzx2UBzm+M=", "integrity": "sha1-US322mKHFEMW3EwY/hzx2UBzm+M=",
"dev": true, "dev": true,
"requires": { "requires": {
"asn1": "0.2.3", "asn1": "~0.2.3",
"assert-plus": "1.0.0", "assert-plus": "^1.0.0",
"bcrypt-pbkdf": "1.0.1", "bcrypt-pbkdf": "^1.0.0",
"dashdash": "1.14.1", "dashdash": "^1.12.0",
"ecc-jsbn": "0.1.1", "ecc-jsbn": "~0.1.1",
"getpass": "0.1.7", "getpass": "^0.1.1",
"jsbn": "0.1.1", "jsbn": "~0.1.0",
"tweetnacl": "0.14.5" "tweetnacl": "~0.14.0"
} }
}, },
"stringstream": { "stringstream": {
@ -536,7 +536,7 @@
"integrity": "sha1-JfSOoiynkYfzF0pNuHWTR7sSYiA=", "integrity": "sha1-JfSOoiynkYfzF0pNuHWTR7sSYiA=",
"dev": true, "dev": true,
"requires": { "requires": {
"ansi-regex": "0.2.1" "ansi-regex": "^0.2.1"
} }
}, },
"supports-color": { "supports-color": {
@ -545,7 +545,7 @@
"integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
"dev": true, "dev": true,
"requires": { "requires": {
"has-flag": "1.0.0" "has-flag": "^1.0.0"
} }
}, },
"topo": { "topo": {
@ -554,7 +554,7 @@
"integrity": "sha1-zVYVdSU5BXwNwEkaYhw7xvvh0YI=", "integrity": "sha1-zVYVdSU5BXwNwEkaYhw7xvvh0YI=",
"dev": true, "dev": true,
"requires": { "requires": {
"hoek": "4.2.0" "hoek": "4.x.x"
} }
}, },
"tough-cookie": { "tough-cookie": {
@ -563,7 +563,7 @@
"integrity": "sha1-C2GKVWW23qkL80JdBNVe3EdadWE=", "integrity": "sha1-C2GKVWW23qkL80JdBNVe3EdadWE=",
"dev": true, "dev": true,
"requires": { "requires": {
"punycode": "1.4.1" "punycode": "^1.4.1"
} }
}, },
"tree-kill": { "tree-kill": {
@ -578,7 +578,7 @@
"integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=",
"dev": true, "dev": true,
"requires": { "requires": {
"safe-buffer": "5.1.1" "safe-buffer": "^5.0.1"
} }
}, },
"tweetnacl": { "tweetnacl": {
@ -600,9 +600,9 @@
"integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=",
"dev": true, "dev": true,
"requires": { "requires": {
"assert-plus": "1.0.0", "assert-plus": "^1.0.0",
"core-util-is": "1.0.2", "core-util-is": "1.0.2",
"extsprintf": "1.3.0" "extsprintf": "^1.2.0"
} }
}, },
"wait-on": { "wait-on": {
@ -611,11 +611,11 @@
"integrity": "sha1-CoT9BwJMb8Joyw6r5YW+IXqvK6o=", "integrity": "sha1-CoT9BwJMb8Joyw6r5YW+IXqvK6o=",
"dev": true, "dev": true,
"requires": { "requires": {
"core-js": "2.5.1", "core-js": "^2.4.1",
"joi": "9.2.0", "joi": "^9.2.0",
"minimist": "1.2.0", "minimist": "^1.2.0",
"request": "2.83.0", "request": "^2.78.0",
"rx": "4.1.0" "rx": "^4.1.0"
}, },
"dependencies": { "dependencies": {
"rx": { "rx": {

4630
static/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -8,7 +8,7 @@ import {Rank} from '../../models/model-interfaces';
import {RankService} from '../../services/army-management/rank.service'; import {RankService} from '../../services/army-management/rank.service';
import {Fraction} from '../../utils/fraction.enum'; import {Fraction} from '../../utils/fraction.enum';
import {UIHelpers} from '../../utils/global.helpers'; import {UIHelpers} from '../../utils/global.helpers';
import {MatButtonToggleGroup} from "@angular/material"; import {MatButtonToggleGroup} from '@angular/material';
@Component({ @Component({
selector: 'rank-list', selector: 'rank-list',

View File

@ -7,8 +7,8 @@ import {Observable} from 'rxjs/Observable';
import {Squad} from '../../models/model-interfaces'; import {Squad} from '../../models/model-interfaces';
import {SquadService} from '../../services/army-management/squad.service'; import {SquadService} from '../../services/army-management/squad.service';
import {Fraction} from '../../utils/fraction.enum'; import {Fraction} from '../../utils/fraction.enum';
import {UIHelpers} from "../../utils/global.helpers"; import {UIHelpers} from '../../utils/global.helpers';
import {MatButtonToggleGroup} from "@angular/material"; import {MatButtonToggleGroup} from '@angular/material';
@Component({ @Component({
selector: 'squad-list', selector: 'squad-list',

View File

@ -4,7 +4,7 @@ import {SharedModule} from '../shared.module';
import {squadRouterModule, squadsRoutingComponents} from './squads.routing'; import {squadRouterModule, squadsRoutingComponents} from './squads.routing';
import {SquadStore} from '../services/stores/squad.store'; import {SquadStore} from '../services/stores/squad.store';
import {SquadService} from '../services/army-management/squad.service'; import {SquadService} from '../services/army-management/squad.service';
import {MatButtonToggleModule} from "@angular/material"; import {MatButtonToggleModule} from '@angular/material';
@NgModule({ @NgModule({
declarations: squadsRoutingComponents, declarations: squadsRoutingComponents,

View File

@ -1,4 +1,4 @@
import {MatButtonToggleGroup} from "@angular/material"; import {MatButtonToggleGroup} from '@angular/material';
export const CSSHelpers = { export const CSSHelpers = {
getBackgroundCSS: (imageUrl) => { getBackgroundCSS: (imageUrl) => {