From 130a9e42d8a34284cd3fe291f8218fbda389c71e Mon Sep 17 00:00:00 2001 From: Andrew Watkins Date: Thu, 22 Mar 2018 13:43:47 -0700 Subject: [PATCH] WIP emit errors tslint --- ui/package.json | 2 +- ui/src/kapacitor/components/AlertOutputs.tsx | 2 ++ ui/webpack/prod.config.js | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ui/package.json b/ui/package.json index 70123e530..9c3cf0025 100644 --- a/ui/package.json +++ b/ui/package.json @@ -9,7 +9,7 @@ "url": "github:influxdata/chronograf" }, "scripts": { - "build": "yarn run clean && webpack --config ./webpack/prod.config.js", + "build": "yarn run clean && webpack --config ./webpack/prod.config.js --progress", "build:dev": "webpack --config ./webpack/dev.config.js", "build:vendor": "webpack --config webpack/vendor.config.js", "start": "yarn run clean && yarn run build:vendor && webpack --watch --config ./webpack/dev.config.js", diff --git a/ui/src/kapacitor/components/AlertOutputs.tsx b/ui/src/kapacitor/components/AlertOutputs.tsx index 235d6b031..e2c49e563 100644 --- a/ui/src/kapacitor/components/AlertOutputs.tsx +++ b/ui/src/kapacitor/components/AlertOutputs.tsx @@ -4,6 +4,8 @@ import AlertTabs from 'src/kapacitor/components/AlertTabs' import {Kapacitor, Source} from 'src/types' +console.log('foo') + export interface Notification { id?: string type: string diff --git a/ui/webpack/prod.config.js b/ui/webpack/prod.config.js index bc512ef2f..38f76acf8 100644 --- a/ui/webpack/prod.config.js +++ b/ui/webpack/prod.config.js @@ -60,7 +60,7 @@ const config = { loader: 'tslint-loader', enforce: 'pre', options: { - emitWarning: true, + emitErrors: true, }, }, {