diff options
author | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2018-06-20 14:56:09 +0200 |
---|---|---|
committer | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2018-06-20 14:56:12 +0200 |
commit | c8ca55dc8dbb3da11fab597aec83518f71967d4b (patch) | |
tree | 3e0dc51a8eda13fee0389f53e1773ae990a45e79 | |
parent | c2d621f58c1446579961bac245bc6376a02efe63 (diff) |
Fix invalid linter conf and fix reported lint errors
Change-Id: I57f83de18965f085ce1f51d5ae4d018b542edc4e
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
3 files changed, 11 insertions, 8 deletions
diff --git a/webapp/.angular-cli.json b/webapp/.angular-cli.json index 9aa0157..e257100 100644 --- a/webapp/.angular-cli.json +++ b/webapp/.angular-cli.json @@ -47,14 +47,16 @@ }, "lint": [ { - "files": "src/**/*.ts", - "project": "src/tsconfig.app.json" + "project": "src/tsconfig.app.json", + "exclude": "**/node_modules/**" }, { - "project": "src/tsconfig.spec.json" + "project": "src/tsconfig.spec.json", + "exclude": "**/node_modules/**" }, { - "project": "e2e/tsconfig.e2e.json" + "project": "e2e/tsconfig.e2e.json", + "exclude": "**/node_modules/**" } ], "test": { diff --git a/webapp/src/app/pages/supervision/supervision-config.component.scss b/webapp/src/app/pages/supervision/supervision-config.component.scss index ea263cc..7b8d318 100644 --- a/webapp/src/app/pages/supervision/supervision-config.component.scss +++ b/webapp/src/app/pages/supervision/supervision-config.component.scss @@ -111,15 +111,16 @@ button#stop-trace { margin-left: 10px; } +#ws-client { + fill: green; +} + svg#graph { .link { fill: none; stroke: #666; stroke-width: 1.5px; } - #ws-client { - fill: green; - } .link.ws-client { stroke: green; } diff --git a/webapp/src/app/pages/targets/target-add-modal/target-add-modal.component.ts b/webapp/src/app/pages/targets/target-add-modal/target-add-modal.component.ts index 6260b87..7545845 100644 --- a/webapp/src/app/pages/targets/target-add-modal/target-add-modal.component.ts +++ b/webapp/src/app/pages/targets/target-add-modal/target-add-modal.component.ts @@ -161,7 +161,7 @@ export class TargetAddModalComponent implements OnInit { } private _isIPv4(str) { - const ipv4Maybe = /^(\d+)\.(\d+)\.(\d+)\.(\d+)$/ + const ipv4Maybe = /^(\d+)\.(\d+)\.(\d+)\.(\d+)$/; if (!ipv4Maybe.test(str)) { return false; } |