@cyco130/eslint-config
This is a set of reusable ESLint configurations for Fatih Aygün's personal projects.
Compatibility
Version 5.x.x only supports ESLint 9 and flat configs. Use version 4.x.x for ESLint 8 and legacy configs.
Usage
Install with pnpm install -D @cyco130/eslint-config
and create a file named eslint.config.js
(or .mjs
if you don't have "type": "module"
in your package.json
) with the following content:
import config from "@cyco130/eslint-config/node";
export default [
...config,
{
ignores: ["dist/", "node_modules/"],
},
{
languageOptions: {
parserOptions: {
projectService: true,
tsconfigRootDir: import.meta.dirname,
},
},
},
];
Credits and license