js-configs
JavaScript · Node.js tooling

js-configs

Shareable JavaScript and Node.js tooling configuration packages by Andrew Mason. A lightweight pnpm + Changesets monorepo.

js-configs — shareable JavaScript and Node.js tooling configurations

Packages

@andrewmcodes/prettier-config

npm version

A shareable Prettier configuration (printWidth: 120, endOfLine: "auto"). Compatible with Prettier 3.

Install

pnpm add -D @andrewmcodes/prettier-config

Usage

Reference it from your package.json:

"prettier": "@andrewmcodes/prettier-config"

@andrewmcodes/commitlint-config

npm version

A shareable commitlint configuration that extends @commitlint/config-conventional and relaxes body/footer line limits. Requires Node.js ≥ 22.12.

Install

pnpm add -D @andrewmcodes/commitlint-config @commitlint/cli

Usage

In your commitlint.config.js:

export default {
  extends: ["@andrewmcodes"],
};

Contributing

Changes are released with Changesets and published to npm via Trusted Publishing with provenance. Use Conventional Commits and include a changeset for any user-facing change. See the repository for details.