Skip to main content

Managing configs

The CLI makes it easy to add or remove config blocks from an existing eslint.config.js.

Add configs

npx @gesslar/uglier add cjs-override mjs-override

This parses your existing config file and adds the new blocks to the with array.

Remove configs

npx @gesslar/uglier remove lints-jsdoc

This removes the specified block from your config.

See available configs

npx @gesslar/uglier --help

This displays all available config blocks with descriptions:

ConfigDescription
lints-jsCore JavaScript style rules
lints-jsdocJSDoc documentation enforcement
languageOptionsECMAScript version and source type
nodeNode.js globals
webBrowser globals
reactReact environment
tauriTauri app environment
vscode-extensionVS Code extension API
cjs-overrideCommonJS file handling (*.cjs)
mjs-overrideES Module file handling (*.mjs)