node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »


webpack-blocks - TSLint

Gitter chat JavaScript Style Guide NPM Version

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

👉 Main documentation

Released under the terms of the MIT license.