@kasoa/eslint-config
v0.0.12
Published
Kasoa's ESLint config
Downloads
736
Maintainers
Readme
@kasoa/eslint-config
Kasoa's ESLint config
Installation
Install ESLint and the config:
pnpm add -D @kasoa/eslint-config eslintNote: Requires Node.js >=24 and a TypeScript setup.
Usage
Import the desired config in your eslint.config.ts (using ESLint's flat config format). Extend it with project-specific overrides as needed.
React Projects
export { react as default } from "@kasoa/eslint-config/react";Node.js Projects
export { node as default } from "@kasoa/eslint-config/node";Base Config
export { base as default } from "@kasoa/eslint-config/base";Custom Overrides
Use defineConfig to add project-specific rules:
import { node } from "@kasoa/eslint-config/node";
import { defineConfig } from "eslint/config";
export default defineConfig(node, {
rules: {
"no-console": "warn",
},
});Configurations
base: Core rules for TypeScript, imports, code quality, and testing.node: Extendsbasewith Node.js-specific rules.react: Extendsbasewith React-specific rules.
All configs use Prettier-compatible rules and enforce strict standards.
Contributing
- Follow project conventions.
- Test changes in a sample project.
- Update this README for new configs.
Author
Emmanuel Chucks https://github.com/emmanuelchucks
License
MIT
