Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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"
}
```