Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/cyco130/eslint-config
- Owner: cyco130
- License: mit
- Created: 2022-01-17T08:24:58.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-28T07:41:32.000Z (7 months ago)
- Last Synced: 2024-05-29T19:07:13.124Z (7 months ago)
- Language: JavaScript
- Size: 177 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
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)