ESLint formatter that follows kakoune format:
{filename}:{line}:{column}: {kind}: {message}
$ npm install --save-dev eslint-formatter-kakoune
$ eslint --format=node_modules/eslint-formatter-kakoune file.js
In your kakrc
:
hook global WinSetOption filetype=javascript %{
set buffer lintcmd 'eslint --config .eslintrc.js --format=node_modules/eslint-formatter-kakoune'
lint-enable
lint
}
You may add more hooks to trigger the lint command on save.
MIT