eslint-formatter-kakoune

raw JSON →
1.0.0 verified Sat Apr 25 auth: no javascript

ESLint formatter that outputs warnings and errors in the format expected by Kakoune's lint.kak, enabling seamless integration with the editor. Version 1.0.0 is stable with infrequent releases. This formatter is a specialized alternative to other ESLint formatters, tailored specifically for Kakoune with no external runtime dependencies beyond ESLint.

error Error [ERR_REQUIRE_ESM]: require() of ES Module ... not supported.
cause Using CommonJS require() on an ESM-only package.
fix
Switch to import syntax or configure CommonJS support.
error Cannot find module 'eslint-formatter-kakoune'
cause Package not installed or incorrect path in --format.
fix
Install with 'npm install --save-dev eslint-formatter-kakoune' and use correct path.
gotcha The module is ESM-only; it will throw an error if required with CommonJS.
fix Use import syntax or set type: 'module' in package.json.
npm install eslint-formatter-kakoune
yarn add eslint-formatter-kakoune
pnpm add eslint-formatter-kakoune

Runs ESLint on file.js and outputs results in Kakoune-compatible format.

$ eslint --format=node_modules/eslint-formatter-kakoune file.js