Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sargunv/eslint-config
https://github.com/sargunv/eslint-config
Last synced: 9 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/sargunv/eslint-config
- Owner: sargunv
- License: apache-2.0
- Created: 2023-02-06T06:21:28.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-14T03:50:37.000Z (10 months ago)
- Last Synced: 2024-10-31T18:15:05.993Z (15 days ago)
- Language: JavaScript
- Size: 1.98 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![NPM](https://img.shields.io/npm/v/@sargunv/eslint-config)](https://www.npmjs.com/package/@sargunv/eslint-config)
# @sargunv/eslint-config
My personal ESLint configs, mostly based on
[eslint-config-alloy](https://github.com/AlloyTeam/eslint-config-alloy).## Usage
In package.json (or your ESLint config):
```json
{
"eslintConfig": {
"extends": [
"@sargunv/eslint-config",
"@sargunv/eslint-config/mixins/commonjs",
"@sargunv/eslint-config/mixins/react",
"@sargunv/eslint-config/mixins/next",
"@sargunv/eslint-config/mixins/typescript"
],
"root": true
}
}
```The mixins are optional.
If using the TypeScript mixin, `typescript` is a required peer dependency (and
you probably have it anyway).If not using the TypeScript mixin, `@babel/core` and `@babel/eslint-parser` are
required peer dependencies. If using the React mixin, `@babel/preset-react` is
also a required peer dependency.