Miss any of our Open RFC calls?Watch the recordings here! »

s2s-hook-tslint

1.0.1 • Public • Published

s2s-hook-tslint

tslint for s2s

Example

const tslint = require('s2s-hook-tslint').default
 
module.exports = {
  watch: './**/*.ts',
  plugins: [
    // plugins...
  ],
  prettier: false,
  afterHooks: [
    tslint({
      test: /\.(ts|tsx)/,
    }),
  ],
}

Options

test

type: regex
default: /\.(ts|tsx)$/

lintConfig

type: string
default: tslint.json

Install

npm i s2s-hook-tslint

DownloadsWeekly Downloads

2

Version

1.0.1

License

MIT

Unpacked Size

4.87 kB

Total Files

6

Last publish

Collaborators

  • avatar