@ondeliverys/eslint-config
v1.0.8
Published
ESLint config for OnDeliverys projects
Downloads
20
Maintainers
Readme
Ondeliverys ESLint Configuration
What's included?
- Standard base configuration;
- React plugin;
- React Hooks plugin;
- JSX a11y plugin;
- Prettier;
Setup
React (with Next.js)
Install dependencies:
npm i -D eslint @ondeliverys/eslint-config
Inside .eslintrc.json
:
{
"extends": [
"@ondeliverys/eslint-config/next",
"next/core-web-vitals"
]
}
Electron
Install dependencies:
npm i -D eslint @ondeliverys/eslint-config
Inside .eslintrc.json
:
{
"extends": "@ondeliverys/eslint-config/electron"
}
Nest.js
Install dependencies:
npm i -D eslint @ondeliverys/eslint-config
Inside .eslintrc.json
:
{
"extends": "@ondeliverys/eslint-config/nest"
}
Node.js
Install dependencies:
npm i -D eslint @ondeliverys/eslint-config
Inside .eslintrc.json
:
{
"extends": "@ondeliverys/eslint-config/node"
}
React Native
Install dependencies:
npm i -D eslint @ondeliverys/eslint-config
Inside .eslintrc.json
:
{
"extends": "@ondeliverys/eslint-config/reactnative"
}
Contribution
If you find issues or have suggestions for improvements, feel free to open an issue in this repository.
License
This package is licensed under the MIT License.