@cyco130/eslint-config
v3.9.1
Published
ESLint configuration for Fatih Aygün's personal projects
Downloads
2,232
Readme
@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"], // or react instead of node
ignorePatterns: ["node_modules", "dist", "**/*.cjs"],
parserOptions: { tsconfigRootDir: __dirname },
settings: {
"import/resolver": {
typescript: {
project: [__dirname + "/tsconfig.json"],
},
},
},
};
Credits and license
- By Fatih Aygün, MIT license