1.0.0-alpha.2 • Published 5 years ago
eslint-plugin-sfccdx v1.0.0-alpha.2
@dn-sfccdx/eslint-plugin
ESLint Plugin for Salesforce Commerce Cloud
Installation
You'll first need to install ESLint:
$ npm i eslint --save-devNext, install @dn-sfccdx/eslint-plugin:
$ npm install @dn-sfccdx/eslint-plugin --save-devUsage
Add dn-sfccdx to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"dn-sfccdx"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"dn-sfccdx/rule-name": 2
}
}Supported Rules
- Fill in provided rules here
1.0.0-alpha.2
5 years ago