1.0.0 • Published 2 years ago
eslint-config-carjuan v1.0.0
Eslint-config-carjuan
This is the base configuration used in my personal JavaScript projects:
It mainly:
- Extends Airbnb Style Guide
- Uses Prettier for code formatting
- Enforces no-for-of-loops
Installation
- Install the configuration using your favourite Node package manager.
npm
npm install --save-dev eslint-config-carjuan eslint prettier
yarn
yarn add -D eslint-config-carjuan eslint prettier
pnpm
pnpm install -D eslint-config-carjuan eslint prettier
- In your ESLint configuration
// .eslintrc.*
{
env: {
// Your env
}
extends: "carjuan"
rules:
{
// Your rules go here
}
...
}
1.0.0
2 years ago