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

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i s2s-hook-tslint

    Weekly Downloads

    0

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    4.87 kB

    Total Files

    6

    Last publish

    Collaborators

    • akameco