eslint-config-salesforce-license

0.2.0 • Public • Published

eslint-config-salesforce-licenses

Salesforce eslint configuration for adding license headers to all source files.

Usage

First install this package.

yarn add eslint-config-salesforce-license

Then extend this configuration in your own eslint file.

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

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

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

yarn add eslint eslint-plugin-header

Note: You can use @salesforce/dev-scripts to set this up along with all other configuration files related to a Salesforce typescript project.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.2.0
    19,295
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.2.0
    19,295
  • 0.1.6
    5,274
  • 0.1.0
    6

Package Sidebar

Install

npm i eslint-config-salesforce-license

Weekly Downloads

24,575

Version

0.2.0

License

BSD-3-Clause

Unpacked Size

2.11 kB

Total Files

3

Last publish

Collaborators

  • jgrantham
  • amphro
  • salesforce-releases