Initialize Config
Once installed, generate your eslint.config.js with the init command.
For a Node.js project
Section titled “For a Node.js project”npx @gesslar/uglier init nodeThis creates:
import uglify from "@gesslar/uglier"
export default [ ...uglify({ with: [ "lints-js", "lints-jsdoc", "node", ] })]For a React project
Section titled “For a React project”npx @gesslar/uglier init reactFor a Tauri app
Section titled “For a Tauri app”npx @gesslar/uglier init tauriMultiple targets
Section titled “Multiple targets”You can combine multiple targets:
npx @gesslar/uglier init node cjs-override mjs-overrideThe CLI maps each target to the appropriate config blocks and generates a single, clean config file.