1.0.0 • Published 7 years ago

eslint-formatter-kakoune v1.0.0

Weekly downloads
75
License
ISC
Repository
github
Last release
7 years ago

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.