1.1.0 • Published 7 years ago
tslint-formatter-kakoune v1.1.0
tslint-formatter-kakoune
TSLint formatter that follows kakoune format:
{filename}:{line}:{column}: {kind}: {message}Installation
Using npm:
npm install --save-dev tslint-formatter-kakouneUsage
TSLint CLI:
tslint --formatters-dir ./node_modules/tslint-formatter-kakoune -t kakoune -p .In your kakrc:
hook global WinSetOption filetype=typescript %{
set buffer lintcmd 'tslint --config tslint.json --formatters-dir ./node_modules/tslint-formatter-kakoune -t kakoune'
lint-enable
lint
}You may add more hooks to trigger the lint command on save.