Skip to content

forcedotcom/eslint-config-salesforce-license

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.

About

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

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 6