Skip to content

Configs by Lou

License NPM Version Open Issues

⚙️ Shared project configuration files for linting, formatting, documentation and so on.

Configurations

Usage

All this configurations are setup automatically by @lou.codes/create-package when creating a new package.

For manual setup of each file, use the examples below:

.changeset/config.json
{
"$schema": "https://raw.githubusercontent.com/changesets/changesets/main/packages/config/schema.json",
"changelog": "@lou.codes/configs/changelog.cjs",
"commit": false,
"access": "restricted",
"baseBranch": "main",
"updateInternalDependencies": "patch"
}
eslint.config.js
export { default } from "@lou.codes/configs/eslint.config.js";
prettier.config.js
export { default } from "@lou.codes/configs/prettier.config.js";
stylelint.config.js
export { default } from "@lou.codes/configs/stylelint.config.js";
tsconfig.json
{
"extends": "@lou.codes/configs/typescript.config.json"
}
typedoc.json
{
"$schema": "https://typedoc.org/schema.json",
"cname": "PUBLIC DOMAIN",
"entryPoints": ["./lib"],
"extends": ["@lou.codes/configs/typedoc.config.json"],
"name": "PACKAGE NAME"
}
  • Changelog: List of changes between versions.