Shared configuration files for IlloStack projects. Standardize your setup across multiple packages with ease.
- 📦 Shared configuration for:
- TypeScript (
tsconfig) - ESLint
- TypeScript (
- 🧠 Opinionated defaults for consistency across IlloStack packages
- 🔧 Easy to extend and override
npm install --save-dev @illostack/eslint-config
npm install --save-dev @illostack/typescript-configOr with pnpm:
pnpm add -D @illostack/eslint-config
pnpm add -D @illostack/typescript-configIn your tsconfig.json:
{
"extends": "@illostack/typescript-config/base.json",
"compilerOptions": {
"outDir": "dist"
}
}In your .eslintrc.mjs:
import { config } from "@illostack/eslint-config/base";
/** @type {import("eslint").Linter.Config} */
export default config;This package aims to:
- Reduce boilerplate in each package
- Maintain consistency across all IlloStack projects
- Be easy to customize when needed
Each config is designed to be a base. You can override or merge your custom settings as needed.
For example, in TypeScript:
{
"extends": "@illostack/typescript-config/base.json",
"compilerOptions": {
"strict": false
}
}If you want to add new configurations or propose changes, feel free to open a PR!
This package is part of the IlloStack project, a collection of lightweight tools and libraries for modern web development.
