Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
eslint-config-salesforce-typescript
Advanced tools
The eslint config for Salesforce typescript projects
eslint-config-salesforce-typescript
Salesforce eslint configuration for all typescript projects.
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
FAQs
The eslint config for Salesforce typescript projects
The npm package eslint-config-salesforce-typescript receives a total of 13,131 weekly downloads. As such, eslint-config-salesforce-typescript popularity was classified as popular.
We found that eslint-config-salesforce-typescript demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.