eslint-plugin-healthier
v3.0.0
Published
An opinionated code linter – a friendly companion to prettier
Downloads
20
Maintainers
Readme
eslint-plugin-healthier
Eslint plugin for https://github.com/KidkArolis/healthier and https://github.com/KidkArolis/eslint-config-healthier. Healthier is an opinionated linter that only applies non code style related linting rules, which makes it a great companion for code formatters such as Prettier.
Usage
Because npm and yarn flattens dependencies, you actually, technically, don't need to install this plugin and can only install eslint-config-healthier. This is to make using this eslint config more convenient. This will be improved when eslint makes it possible for configs to depend on plugins.
npm i -D eslint-plugin-healthier
Rule prefix
Healthier plugin depends on the following plugins to expose these to eslint-config-healthier:
- eslint-plugin-standard
- eslint-plugin-node
- eslint-plugin-import
- eslint-plugin-promise
- eslint-plugin-react
By reexporting these plugins, eslint forces us to change the prefix for all those rules to healthier/
. This will be improved when eslint makes it possible for configs to depend on plugins.