JSPM

eslint-formatter-kakoune

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 78742
  • Score
    100M100P100Q168822F
  • License ISC

ESLint formatter for kakoune

Package Exports

  • eslint-formatter-kakoune

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (eslint-formatter-kakoune) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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.