misc rules for eslint
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.
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
Add cake
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": ["cake"]
}
yarn install
s/lint
s/test
# release new version
s/build
# optional, if you want to test locally:
yarn pack
yarn publish