@restorecommerce/eslint-config-restorecommerce
v0.1.5
Published
The eslint configs used for Restore Commerce
Downloads
8
Readme
eslint-config-restorecommerce
The eslint configs used for Restore Commerce. The ruleset is just a slightly modified version of eslint-config-airbnb-base.
Usage
Add it as a dev-dependency:
"devDependencies": {
"eslint-config-restorecommerce": "restorecommerce/eslint-config-restorecommerce",
...
}
Add a script lint
like so:
"scripts": {
"lint": "eslint *.json *.js lib/**",
...
}
Have a file .eslintrc
and add:
{
"extends": "eslint-config-restorecommerce"
}