diff --git a/public/app/core/components/manage_dashboards/manage_dashboards.ts b/public/app/core/components/manage_dashboards/manage_dashboards.ts index 0016305e617..da3fa2f8ab8 100644 --- a/public/app/core/components/manage_dashboards/manage_dashboards.ts +++ b/public/app/core/components/manage_dashboards/manage_dashboards.ts @@ -14,7 +14,7 @@ class Query { } export class ManageDashboardsCtrl { - public sections: any[]; + sections: any[]; query: Query; navModel: any; diff --git a/public/app/features/playlist/playlist_srv.ts b/public/app/features/playlist/playlist_srv.ts index 395f65d9b14..9d3b635a1e5 100644 --- a/public/app/features/playlist/playlist_srv.ts +++ b/public/app/features/playlist/playlist_srv.ts @@ -10,7 +10,7 @@ class PlaylistSrv { private index: number; private interval: any; private startUrl: string; - public isPlaying: boolean; + isPlaying: boolean; /** @ngInject */ constructor(private $location: any, private $timeout: any, private backendSrv: any) {} diff --git a/tslint.json b/tslint.json index 27ebab036d4..e9caf1d7b38 100644 --- a/tslint.json +++ b/tslint.json @@ -27,7 +27,7 @@ "indent": [true, "spaces", 2], "label-position": true, "max-line-length": [true, 150], - "member-access": false, + "member-access": [true, "no-public"], "no-arg": true, "no-bitwise": false, "no-console": [true, "debug", "info", "time", "timeEnd", "trace"], @@ -40,7 +40,7 @@ "no-string-literal": false, "no-switch-case-fall-through": false, "no-trailing-whitespace": true, - "no-var-keyword": false, + "no-var-keyword": true, "object-literal-sort-keys": false, "one-line": [true, "check-open-brace", "check-catch", "check-else"], "prefer-const": true,