Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

eslint-formatter-kakoune

Delapouite350.7kISC1.0.0

ESLint formatter for kakoune

eslint, eslint-formatter, formatter, kakoune

readme

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 --format=node_modules/eslint-formatter-kakoune'
  lint-enable
  lint
}

You may add more hooks to trigger the lint command on save.