Skip to content
ESLint formatter for kakoune
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
index.js
package.json

README.md

ESLint formatter for kakoune

ESLint formatter that follows kakoune format:

{filename}:{line}:{column}: {kind}: {message}

Install

$ npm install --save-dev eslint-formatter-kakoune

Usage

ESLint CLI

$ 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.

See also

Licence

MIT

You can’t perform that action at this time.