3.1.0 • Published 2 years ago
eslint-config-parts v3.1.0
eslint-config-parts
ESLint configuration extending Prettier, Airbnb, React, and TypeScript 🤠
Table of contents
Installing
Add eslint@^8
and eslint-config-parts
as a (dev) dependency:
# using npm
npm install --save-dev eslint@^8 eslint-config-parts
# using yarn
yarn add --dev eslint@^8 eslint-config-parts
Usage
Add eslint-config-parts
in your ESLint configuration:
module.exports = {
extends: [
"eslint-config-parts",
// ...
],
};
For Next.js projects*
*) Add eslint-config-next
as dev dependency
module.exports = {
extends: [
"eslint-config-parts",
"plugin:@next/next/recommended",
// ...
],
};
Example usage
Here are project examples using eslint-config-parts
:
Rules
There are no custom rules except from Airbnb and other related plugins. Extend the config and add your own rules and settings.
Suggestions and/or questions
Submit an issue or discuss on GitHub.
Maintainers
- Griko Nibras (@grikomsn)