From 284252e7a49da4816c1fe4a9b4e58694b5a23c10 Mon Sep 17 00:00:00 2001 From: August Skare Date: Mon, 19 Nov 2018 08:56:59 +0100 Subject: less verbose tslint disable rule --- packages/dev-tools-pages/ts/components/Code.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/dev-tools-pages/ts/components/Code.tsx b/packages/dev-tools-pages/ts/components/Code.tsx index da2bb83e6..3bf5506d6 100644 --- a/packages/dev-tools-pages/ts/components/Code.tsx +++ b/packages/dev-tools-pages/ts/components/Code.tsx @@ -144,9 +144,8 @@ class Code extends React.Component { /* * _onMountAsync is only setting state, so no point in handling the promise */ - /* tslint:disable:no-floating-promises */ + // tslint:disable-next-line:no-floating-promises this._onMountAsync(); - /* tslint:enable:no-floating-promises */ } public render(): React.ReactNode { -- cgit v1.2.3