@amedia/kragl-eslint
v4.3.0
Published
ESLint runner for Kragl
Maintainers
Keywords
Readme
@amedia/kragl-eslint
ESLint runner for kragl. Bundles [email protected] and wires it up to
@amedia/eslint-config, so consumers don't have to install ESLint themselves.
Install
Pre-installed as a dependency of @amedia/kragl. You generally
don't install this package directly.
For standalone use:
npm install --save-dev @amedia/kragl-eslintUse
Via the parent CLI:
kragl lint
kragl lint --fixStandalone (skip the kragl pipeline, run ESLint directly with our config):
kragl run eslint .If the project has no eslint.config.js, the runner falls back to the default
config shipped in this package, which enables the typescript, svelte,
react, vitest and jest toggles based on the project's dependencies (see
kragl install). If a config exists, kragl uses it as-is.
Notes
Requires Node 22+ and ESLint 10. linterOptions.reportUnusedDisableDirectives
is set to 'error' by @amedia/eslint-config, so unused eslint-disable
comments will fail the lint run.
