Skip to content

Commit 9cdff82

Browse files
committed
chore: Update TSLint configuration
1 parent 6ba4b82 commit 9cdff82

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

config/webpack/webpack.dev.js

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ var config = {
2222
},
2323
module: {
2424
rules: [
25-
{ enforce: 'pre',test: /\.ts$/, exclude: ["node_modules"], loader: 'ts-loader' },
25+
{ enforce: 'pre', test: /\.ts$/, exclude: ["node_modules"], loader: 'ts-loader' },
2626
{ test: /\.html$/, loader: "html" },
2727
{ test: /\.css$/, loaders: ['style', 'css'] }
2828
]
@@ -46,7 +46,15 @@ var config = {
4646
output: { comments: false },
4747
sourceMap: false
4848
}),
49-
new DashboardPlugin()
49+
new DashboardPlugin(),
50+
new webpack.LoaderOptionsPlugin({
51+
options: {
52+
tslint: {
53+
emitErrors: true,
54+
failOnHint: true
55+
}
56+
}
57+
})
5058
]
5159
};
5260

0 commit comments

Comments
 (0)