A shared ESLint and Prettier configuration package by Whyhankee, intended for personal projects. Current version 0.0.18 is early-stage (newly introduced flat config), with no stable release cadence yet. Key differentiators: provides a flat ESLint config with TypeScript support and Prettier integration, plus an init script to generate configuration files. Requires Node >=18.20.3 and pnpm >=9.4. Peer dependencies are ESLint ^9.14.0 and Prettier ^3.3.3. Users must ensure peer dependencies are installed, optionally via auto-install-peers=true in .npmrc.
npm install wescfgNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows installation via npm with peer deps, init script, generated config files, and usage scripts for linting and formatting.
Use ESLint >=9.14.0 with flat config. Do not create .eslintrc.* files.
Add 'auto-install-peers=true' to .npmrc or run 'npm install eslint@^9.14.0 prettier@^3.3.3'.
Set 'type': 'module' in package.json or rename files to .mjs.
Backup existing configs before running 'npx wescfg -f'.
Delete .eslintrc and use flat config as generated by npx wescfg.
Run 'npm install wescfg' and ensure dependencies are installed.
Install prettier: 'npm install prettier@^3.3.3'
Use import syntax or rename file to .cjs if using CommonJS.