1.0.0-alpha.2 • Published 4 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-dev
Next, install @dn-sfccdx/eslint-plugin
:
$ npm install @dn-sfccdx/eslint-plugin --save-dev
Usage
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
4 years ago