Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nexterias/eslint-config
https://github.com/nexterias/eslint-config
Last synced: 28 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/nexterias/eslint-config
- Owner: nexterias
- License: mit
- Created: 2022-10-25T11:43:05.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-29T11:45:16.000Z (3 months ago)
- Last Synced: 2024-10-29T13:28:38.659Z (3 months ago)
- Language: JavaScript
- Size: 3.39 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# @nexterias/eslint-config
ESLint configuration for NEXTERIAS projects
## Quick start
### 1. Installation
```bash
$ npm i -D eslint @nexterias/eslint-config
$ pnpm i -D eslint @nexterias/eslint-config
$ bun add -D eslint @nexterias/eslint-config
$ yarn add -D eslint @nexterias/eslint-config
```### 2. Configuration
Paste the code below into eslint.config.js!
```js
import config from '@nexterias/eslint-config'export default config
```## Presets
### React
```bash
$ npm i -D eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-jsx-a11y
$ pnpm i -D eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-jsx-a11y
$ bun add -D eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-jsx-a11y
$ yarn add -D eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-jsx-a11y
``````js
import config from '@nexterias/eslint-config'
import react from '@nexterias/eslint-config/presets/react'export default [...config, ...react]
```