eslint-plugin-cake
v0.3.2
Published
ESLint plugin with misc rules.
Downloads
35
Maintainers
Readme
eslint-plugin-cake
misc rules for eslint
Why?
Originally to have a forked version of
eslint-plugin-react
's
jsx-no-useless-fragment
that is
safe. Now this
repo is a collection of miscellaneous lints I couldn't find elsewhere.
Installation
You'll first need to install ESLint:
yarn add --dev eslint
# or
npm install eslint --save-dev
Next, install eslint-plugin-cake
:
yarn add --dev eslint-plugin-cake
# or
npm install eslint-plugin-cake --save-dev
Usage
Add cake
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": ["cake"]
}
Supported Rules
Dev
yarn install
s/lint
s/test
# release new version
s/build
# optional, if you want to test locally:
yarn pack
yarn publish