Commit 944c1da2 by Patrick O'Carroll Committed by Torkel Ödegaard

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

parent eef41cbc
...@@ -14,7 +14,7 @@ class Query { ...@@ -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;
......
...@@ -10,7 +10,7 @@ class PlaylistSrv { ...@@ -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) {}
......
...@@ -27,7 +27,7 @@ ...@@ -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 @@ ...@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment