@hello.softis/eslint-config
v1.0.1
Published
ESLint configuration used by Softis.
Downloads
2
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"
}