Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/y0hami/eslint-config
https://github.com/y0hami/eslint-config
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/y0hami/eslint-config
- Owner: y0hami
- License: mit
- Created: 2022-01-20T09:35:44.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-08T17:21:58.000Z (12 months ago)
- Last Synced: 2024-08-09T22:12:48.552Z (6 months ago)
- Language: JavaScript
- Size: 333 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# eslint-config-hami
My ESLint config for typescript, react and nextjsBased on [Standard](https://github.com/standard/standard)
[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
---
## Install
```bash
yarn add --dev eslint-config-hami
``````bash
yarn esinit --config
```
Configs: ts, react, nextjs## Other Configs
#### React ConfigChange `extends` to `hami/react` in `.eslintrc.json`
```json
{
"extends": ["hami/react"],
"parserOptions": {
"project": "./tsconfig.json"
}
}
```#### NextJS Config
Change `extends` to `hami/nextjs` in `.eslintrc.json`
```json
{
"extends": ["hami/nextjs"],
"parserOptions": {
"project": "./tsconfig.json"
}
}
```