Skip to main content

Lint and format

forgeloop init sets --tooling to one of:

ValueGenerated filesTypical scripts
eslint-prettiereslint.config.js, .prettierrc.jsonnpm run lint, npm run format
biomebiome.jsonnpm run lintbiome check ., npm run formatbiome format --write .
none(no linter/formatter config)

TypeScript projects also get typescript, tsx, and @types/node. ESLint stacks add typescript-eslint for .ts projects.

Choosing a stack

  • eslint-prettier — familiar split setup; two tools, widely used in Node/discord.js tutorials.
  • biome — single fast tool for lint + format; fewer files.
  • none — you bring your own rules; doctor will not expect eslint or biome files.

forgeloop doctor checks for the files that match manifest.features.tooling — if you delete them, doctor reports missing paths.


Related: forgeloop doctor.