Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hello-softis/eslint-config-softis
ESLint configuration used by Softis
https://github.com/hello-softis/eslint-config-softis
eslint linter prettier
Last synced: 3 months ago
JSON representation
ESLint configuration used by Softis
- Host: GitHub
- URL: https://github.com/hello-softis/eslint-config-softis
- Owner: hello-softis
- Created: 2024-07-11T00:25:20.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-07-11T01:31:58.000Z (7 months ago)
- Last Synced: 2024-11-10T18:14:22.587Z (3 months ago)
- Topics: eslint, linter, prettier
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/@hello.softis/eslint-config
- Size: 36.1 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Softis ESLint config
## Whats included?
- Standard config base;
- React plugin;
- React Hooks plugin;
- JSX a11y plugin;
- Prettier;## Setup
### React (with Next.js)
Install dependencies:
```
npm i -D eslint @hello.softis/eslint-config
```
Inside `.eslintrc.json`
```
{
"extends": [
"@hello.softis/eslint-config/next",
"next/core-web-vitals"
]
}
```### React (without Next.js)
Install dependencies:
```
npm i -D eslint @hello.softis/eslint-config
```
Inside `.eslintrc.json`
```
{
"extends": "@hello.softis/eslint-config/react"
}
```### Node.js
Install dependencies:
```
npm i -D eslint @hello.softis/eslint-config
```
Inside `.eslintrc.json`
```
{
"extends": "@hello.softis/eslint-config/node"
}
```