@cyco130/eslint-config
This is a set of reusable ESLint configurations for Fatih Aygün's personal projects.
Usage
Install with pnpm install -D @cyco130/eslint-config
and create a .eslintrc.cjs
file with the following content:
require("@cyco130/eslint-config/patch");
module.exports = {
root: true,
extends: ["@cyco130/eslint-config/node"],
ignorePatterns: ["node_modules", "dist", "**/*.cjs"],
parserOptions: { tsconfigRootDir: __dirname },
settings: {
"import/resolver": {
typescript: {
project: [__dirname + "/tsconfig.json"],
},
},
},
};
Credits and license