set member-access and no-var-keyword to true, removed public in two files (#13104)

This commit is contained in:
Patrick O'Carroll 2018-08-31 16:40:23 +02:00 committed by Torkel Ödegaard
parent eef41cbccd
commit 944c1da27b
3 changed files with 4 additions and 4 deletions

View File

@ -14,7 +14,7 @@ class Query {
} }
export class ManageDashboardsCtrl { export class ManageDashboardsCtrl {
public sections: any[]; sections: any[];
query: Query; query: Query;
navModel: any; navModel: any;

View File

@ -10,7 +10,7 @@ class PlaylistSrv {
private index: number; private index: number;
private interval: any; private interval: any;
private startUrl: string; private startUrl: string;
public isPlaying: boolean; isPlaying: boolean;
/** @ngInject */ /** @ngInject */
constructor(private $location: any, private $timeout: any, private backendSrv: any) {} constructor(private $location: any, private $timeout: any, private backendSrv: any) {}

View File

@ -27,7 +27,7 @@
"indent": [true, "spaces", 2], "indent": [true, "spaces", 2],
"label-position": true, "label-position": true,
"max-line-length": [true, 150], "max-line-length": [true, 150],
"member-access": false, "member-access": [true, "no-public"],
"no-arg": true, "no-arg": true,
"no-bitwise": false, "no-bitwise": false,
"no-console": [true, "debug", "info", "time", "timeEnd", "trace"], "no-console": [true, "debug", "info", "time", "timeEnd", "trace"],
@ -40,7 +40,7 @@
"no-string-literal": false, "no-string-literal": false,
"no-switch-case-fall-through": false, "no-switch-case-fall-through": false,
"no-trailing-whitespace": true, "no-trailing-whitespace": true,
"no-var-keyword": false, "no-var-keyword": true,
"object-literal-sort-keys": false, "object-literal-sort-keys": false,
"one-line": [true, "check-open-brace", "check-catch", "check-else"], "one-line": [true, "check-open-brace", "check-catch", "check-else"],
"prefer-const": true, "prefer-const": true,