1.0.0-alpha.1 • Published 4 years ago

@dorgelesn/eslint-plugin-sfccdx v1.0.0-alpha.1

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

@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