@barelyhuman/eslint-plugin
v0.0.2
Published
Plugin wrapper for a set of rules for structured development
Downloads
8
Readme
eslint-plugin-barelyhuman
Plugin wrapper for a set of rules for structured development
Installation
npm install @barelyhuman/eslint-plugin --save-dev
for yarn users:
yarn add -D @barelyhuman/eslint-plugin
Usage
Add @barelyhuman/eslint-plugin
to the extends
section of your .eslintrc
configuration file.
{
"extends": ["plugin:@barelyhuman/eslint-plugin/recommended"]
}
Alternatively, you can enable rules in the plugin, selectively.
{
"rules": {
"@barelyhuman/react-hook-precedence": "warn"
}
}
Why
This plugin helps with various standards the I follow and it would be easier to automate fixing of most of these