Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

eslint-config-salesforce

0.1.0 • Public • Published

eslint-config-salesforce-typescript

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-prettier eslint-plugin-jsdoc

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

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

Install

npm i eslint-config-salesforce

DownloadsWeekly Downloads

68

Version

0.1.0

License

BSD-3-Clause

Unpacked Size

5.23 kB

Total Files

5

Last publish

Collaborators

  • avatar