ESLint rules for RetailMeNot Core UI projects.
npm install @retailmenot/core-ui-eslintrc
Include this module as a dependency in your package.json, then add an extends
rule to your .eslintrc
. You may also add rules to your .eslintrc
to override
the defaults pulled in from this project.
{
extends: "./node_modules/@retailmenot/core-ui-eslintrc/.eslintrc"
}
Same as ES5, but specify the ES6 ruleset in the extends
rule:
{
extends: "./node_modules/@retailmenot/core-ui-eslintrc/.eslintrc-es6"
}