Registry / testing / eslint-formatter-kakoune

eslint-formatter-kakoune

JSON →
library1.0.0jsnpmunverified

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.

npm install eslint-formatter-kakoune
INSTALL
IMPORT
SIG · ESLINT-FORMATTER-K
E
eslint-formatter-kakoune
testingjavascriptv1.0.0
Install
—
Import
—
Disk
—
Pass rate
0/ 6
Env Coverage0 / 6
glibc
18–22
musl
18–22
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18–226 runs
build_error
glibc
node 18–226 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

default
✓ import formatter from 'eslint-formatter-kakoune'
✗ const formatter = require('eslint-formatter-kakoune')
ESM-only; CommonJS require is not supported.
formatter
✓ const formatter = require('eslint-formatter-kakoune')
CommonJS require is not supported. Use default import for ESM.
format
✓ import { format } from 'eslint-formatter-kakoune'
✗ import { format } from 'eslint-formatter-kakoune'; const result = format(results, data)
Named export 'format' exists, but default export is the function directly.

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

$ eslint --format=node_modules/eslint-formatter-kakoune file.js
Debug
Known issues
gotchaThe module is ESM-only; it will throw an error if required with CommonJS.
fix
Use import syntax or set type: 'module' in package.json.
affects: >=1.0.0
Errors
Common errors & fixes
Error [ERR_REQUIRE_ESM]: require() of ES Module ... not supported.
Using CommonJS require() on an ESM-only package.
fix
Switch to import syntax or configure CommonJS support.
Cannot find module 'eslint-formatter-kakoune'
Package not installed or incorrect path in --format.
fix
Install with 'npm install --save-dev eslint-formatter-kakoune' and use correct path.
Upgrade
Version history
1.0.0latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources