⭕️ The Reasonable / eslint-config
This ESLint shareable config enforces reasonable code style rules for style for JavaScript and TypeScript codebases. Each rule has a reason why it was added (see below).
Usage
npm install --save-dev eslint @the-reasonable/eslint-config
yarn add --dev eslint @the-reasonable/eslint-config
Then, in your ESLint config:
{
"extends": "@the-reasonable"
}
Rules
There are two rules for the rules:
- Every
--fix
able rule is always anerror
. - Every rule has a reason why it was added — you can see them in
index.js
.
Show the world
Tell everyone you are being Reasonable and put this badge in your docs!
[![The Reasonable code style](https://flat.badgen.net/badge/The%20Reasonable/code%20style/black?labelColor=D6001C)](https://github.com/TheReasonable/eslint-config)
<a href="https://github.com/TheReasonable/eslint-config">
<img src="https://flat.badgen.net/badge/The%20Reasonable/code%20style/black?labelColor=D6001C"
alt="The Reasonable code style">
</a>
Licence
BSD-3-Clause © 2020-2021, Nikita Karamov