0.9.0 • Published 3 years ago
@bud-tools/eslint-config-budtools-typescript
Licence
—
Version
0.9.0
Deps
0
Size
4 kB
Vulns
0
Weekly
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