New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

eslint-config-salesforce-typescript

Package Overview
Dependencies
Maintainers
3
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-salesforce-typescript

The eslint config for Salesforce typescript projects

  • 3.4.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
16K
decreased by-26.57%
Maintainers
3
Weekly downloads
 
Created
Source

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

Keywords

FAQs

Package last updated on 24 Jul 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc