This is the tslint
block providing TypeScript linting support for webpack. Uses tslint
via
tslint-loader
.
const { createConfig } = require('@webpack-blocks/webpack')
const tslint = require('@webpack-blocks/tslint')
module.exports = createConfig([
tslint(/* tslint options */)
])
Use match()
to explicitly specify the files to lint.
You can pass random ts-loader
options as an object to the tslint
block. See
tslint-loader options.
Check out the
Released under the terms of the MIT license.