@the-reasonable/eslint-config

The Reasonable ESLint shareable config

Usage no npm install needed!

<script type="module">
  import theReasonableEslintConfig from 'https://cdn.skypack.dev/@the-reasonable/eslint-config';
</script>

README

⭕️ The Reasonable / eslint-config

Get from NPM

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:

  1. Every --fixable rule is always an error.
  2. 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

[![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