Notorious Public Menace

    eslint-config-salesforce-typescript

    1.0.0 • Public • Published

    eslint-config-salesforce-typescript

    Salesforce eslint configuration for all typescript projects.

    Usage

    First install this package.

    yarn add eslint-config-salesforce-typescript

    Then extend this configuration in your own eslint file.

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

    module.exports = {
      extends: ['eslint-config-salesforce-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

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

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

    For other configuration files, see @salesforce/dev-config

    Install

    npm i eslint-config-salesforce-typescript

    DownloadsWeekly Downloads

    11,311

    Version

    1.0.0

    License

    BSD-3-Clause

    Unpacked Size

    9.02 kB

    Total Files

    4

    Last publish

    Collaborators

    • jgrantham
    • amphro
    • salesforce-releases