0.9.0 • Published 1 year ago
@bud-tools/eslint-config-budtools-typescript v0.9.0
@bud-tools/eslint-config-budtools-typescript
Salesforce eslint configuration for all typescript projects.
Usage
First install this package.
yarn add @bud-tools/eslint-config-budtools-typescript
Then extend this configuration in your own eslint file.
Here is an example using a .eslintrc.js
file.
module.exports = {
extends: ['@bud-tools/eslint-config-budtools-typescript'],
};
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 @typescript-eslint/eslint-plugin @typescript-eslint/parser
Note: You can use @bud-tools/dev.js-scripts to set this up along with all other configuration files related to a Salesforce typescript project.
For other configuration files, see @bud-tools/dev.js-config