Releases: macklinu/danger-plugin-tslint
Releases · macklinu/danger-plugin-tslint
v2.0.0
v1.0.1
v1.0.0
1.0.0 (2017-05-24)
Features
- tslint: create tslint plugin (e90a5488)
danger-plugin-tslint runs TSLint on your codebase with your defined tsconfig.json
and tslint.json
files. If there are any failures, this plugin will call fail()
with the formatted output in a message. Otherwise, it will call message()
saying that TSLint passed. 🆒
Usage example:
// dangerfile.js
import tslint from 'danger-plugin-tslint'
tslint()
If you want to supply custom options, you can do that too:
// dangerfile.js
import path from 'path'
import tslint from 'danger-plugin-tslint'
tslint({
tslintPath: path.resolve(__dirname, 'path/to/tslint.json'),
tsconfigPath: path.resolve(__dirname, 'path/to/tsconfig.json'),
formatter: 'stylish',
})