ESLint configuration used by Orus Technology
- Eslint standard configuration;
- React plugin;
- React Hooks plugin;
- JSX a11y plugin;'
- Prettier standard plugin configuration;
- Tailwindcss prettier plugin;
Install dependencies
npm i -D eslint @orustecnologia/eslint-config
Set inside of .eslintrc.json
file:
{
"extendes": [
"@orustecnologia/eslint-config/next",
"next/core-web-vitals"
]
}
You can also use a
.eslintrc.js
instead of JSON if you prefer.
Install dependencies
npm i -D eslint @orustecnologia/eslint-config
Set inside of .eslintrc.json
file:
{
"extendes": [
"@orustecnologia/eslint-config/react"
]
}
You can also use a
.eslintrc.js
instead of JSON if you prefer.
Install dependencies
npm i -D eslint @orustecnologia/eslint-config
Set inside of .eslintrc.json
file:
{
"extendes": [
"@orustecnologia/eslint-config/node"
]
}
You can also use a
.eslintrc.js
instead of JSON if you prefer.
You can set others rules and preferences of eslint and prettier configuration in .eslintrc.json
to customize the output of the eslint
command.