eslint-config-ezcater-base
v6.0.0
Published
The base style config for ezCater Javascript
Downloads
6,407
Readme
eslint-config-ezcater-base
Usage
Our default export contains our base ESLint rules, including ECMAScript 6+.
- Install the package as a dev dependency for your project:
# NPM
npm i eslint-config-ezcater-base --save-dev
# Yarn
yarn add eslint-config-ezcater-base -D
- Add
ezcater-base
to theextends
section of your project's.eslintrc
:
{
"extends": ["ezcater-base"]
}
- Add optional scripts to your
package.json
to run linting checks:
"scripts": {
"fix:lint": "eslint . --fix",
"validate:lint": "eslint .",
}