Fix linting

pull/40/head
HardiReady 2018-07-02 21:57:56 +02:00
parent 68ca503a76
commit 3bb7bd0e1d
5 changed files with 2306 additions and 2308 deletions

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{ {
"name": "opt-cc", "name": "opt-cc",
"version": "1.7.2", "version": "1.8.0",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

4602
static/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -12,8 +12,10 @@ import {FormGroup, NgForm} from '@angular/forms';
}) })
export class ShowErrorComponent { export class ShowErrorComponent {
// tslint:disable-next-line:no-input-rename
@Input('controlPath') controlPath; @Input('controlPath') controlPath;
// tslint:disable-next-line:no-input-rename
@Input('displayName') displayName = ''; @Input('displayName') displayName = '';
private form: FormGroup; private form: FormGroup;

View File

@ -10,7 +10,7 @@ export const CSSHelpers = {
export const UIHelpers = { export const UIHelpers = {
toggleReleaseButton: (currentVal, group) => { toggleReleaseButton: (currentVal, group) => {
if (currentVal == group.value) { if (currentVal === group.value) {
group.value = ''; group.value = '';
return ''; return '';
} else { } else {

View File

@ -88,7 +88,6 @@
"variable-declaration": "nospace" "variable-declaration": "nospace"
} }
], ],
"typeof-compare": true,
"unified-signatures": true, "unified-signatures": true,
"variable-name": false, "variable-name": false,
"whitespace": [ "whitespace": [
@ -119,9 +118,6 @@
"use-life-cycle-interface": true, "use-life-cycle-interface": true,
"use-pipe-transform-interface": true, "use-pipe-transform-interface": true,
"component-class-suffix": true, "component-class-suffix": true,
"directive-class-suffix": true, "directive-class-suffix": true
"no-access-missing-member": true,
"templates-use-public": true,
"invoke-injectable": true
} }
} }