eslint-config-salesforce

2.2.0 • Public • Published

eslint-config-salesforce

Salesforce eslint configuration for all projects.

Usage

First install this package.

yarn add eslint-config-salesforce

Then extend this configuration in your own eslint file.

Here is an example using a .eslintrc.js file.

module.exports = {
  extends: ['eslint-config-salesforce'],
};

Because eslint requires all eslint packages locally, you must also install the following packages.

yarn add eslint eslint-plugin-import eslint-plugin-jsdoc

For Salesforce owned repositories, also extend eslint-config-salesforce-license;

Note: For typescript packages, use eslint-config-salesforce-typescript.

Readme

Keywords

Package Sidebar

Install

npm i eslint-config-salesforce

Weekly Downloads

21,501

Version

2.2.0

License

BSD-3-Clause

Unpacked Size

4.13 kB

Total Files

3

Last publish

Collaborators

  • jgrantham
  • amphro
  • salesforce-releases