WIP emit errors tslint

pull/3037/head
Andrew Watkins 2018-03-22 13:43:47 -07:00
parent c46125d42b
commit 130a9e42d8
3 changed files with 4 additions and 2 deletions

View File

@ -9,7 +9,7 @@
"url": "github:influxdata/chronograf" "url": "github:influxdata/chronograf"
}, },
"scripts": { "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:dev": "webpack --config ./webpack/dev.config.js",
"build:vendor": "webpack --config webpack/vendor.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", "start": "yarn run clean && yarn run build:vendor && webpack --watch --config ./webpack/dev.config.js",

View File

@ -4,6 +4,8 @@ import AlertTabs from 'src/kapacitor/components/AlertTabs'
import {Kapacitor, Source} from 'src/types' import {Kapacitor, Source} from 'src/types'
console.log('foo')
export interface Notification { export interface Notification {
id?: string id?: string
type: string type: string

View File

@ -60,7 +60,7 @@ const config = {
loader: 'tslint-loader', loader: 'tslint-loader',
enforce: 'pre', enforce: 'pre',
options: { options: {
emitWarning: true, emitErrors: true,
}, },
}, },
{ {