Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cyco130/eslint-config

ESLint configuration for Fatih Aygün's personal projects
https://github.com/cyco130/eslint-config

Last synced: 3 months ago
JSON representation

ESLint configuration for Fatih Aygün's personal projects

Awesome Lists containing this project

README

        

# @cyco130/eslint-config

This is a set of reusable ESLint configurations for [Fatih Aygün](https://github.com/cyco130)'s personal projects.

## Usage

Install with `pnpm install -D @cyco130/eslint-config` and create a `.eslintrc.cjs` file with the following content:

```js
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](./LICENSE)