Configs by Lou
⚙️ Shared project configuration files for linting, formatting, documentation and so on.
Configurations
- 🦋 changelog.cjs — Changesets changelog functions.
- 🚨 eslint.config.js — JavaScript and TypeScript linting.
- ✨ prettier.config.js — Code formatting.
- 🎨 stylelint.config.js — CSS linting.
- 🏷️ typescript.config.json — TypeScript configuration (strict).
- 📖 typedoc.config.json — Documentation configuration.
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:
{ "$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"}
export { default } from "@lou.codes/configs/eslint.config.js";
export { default } from "@lou.codes/configs/prettier.config.js";
export { default } from "@lou.codes/configs/stylelint.config.js";
{ "extends": "@lou.codes/configs/typescript.config.json"}
{ "$schema": "https://typedoc.org/schema.json", "cname": "PUBLIC DOMAIN", "entryPoints": ["./lib"], "extends": ["@lou.codes/configs/typedoc.config.json"], "name": "PACKAGE NAME"}
Useful links
- ⏳ Changelog: List of changes between versions.