1.0.1 • Published 5 years ago
s2s-hook-tslint v1.0.1
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