UNPKG

eslint-plugin-salesforce-commercecloud

Version:
37 lines (21 loc) 699 B
# eslint-plugin-salesforce-commercecloud adding globals for salesforce commerce cloud ## Installation You'll first need to install [ESLint](http://eslint.org): ``` $ npm i eslint --save-dev ``` Next, install `eslint-plugin-salesforce-commercecloud`: ``` $ npm install eslint-plugin-salesforce-commercecloud --save-dev ``` **Note:** If you installed ESLint globally (using the `-g` flag) then you must also install `eslint-plugin-salesforce-commercecloud` globally. ## Usage Add `salesforce-commercecloud` to the plugins section of your `.eslintrc` configuration file. You can omit the `eslint-plugin-` prefix: ```json { "plugins": [ "salesforce-commercecloud" ] } ```