@microsoft/eslint-plugin-sdl weekly downloads statistics
By microsoft (227 listings) · npm · ESLint plugins
ESLint plugin focused on common security issues and misconfigurations discoverable during static testing as part of Microsoft Security Development Lifecycle (SDL)
@microsoft/eslint-plugin-sdl has 922,398 recorded weekly downloads on npm, an increase of 14.7% over the past 30 days, ranking #304 of 3,247 tracked listings.
About @microsoft/eslint-plugin-sdl
eslint-plugin-sdl
ESLint Plugin focused on common security issues and misconfigurations.
Plugin is intended as a baseline for projects that follow Microsoft Security Development Lifecycle (SDL) and use ESLint to perform Static Analysis Security Testing (SAST).
Installation
npm install microsoft/eslint-plugin-sdl
or
yarn add microsoft/eslint-plugin-sdl
Configs
Including an ESLint configuration file in your project allows you to customize how ESLint applies rules to your project. You can include the plugin in your configuration file as described in examples for recommended and required configurations.
ESLint will then only enforce rules you specify in the rules section of your configuration file at the severity level you designate. For example:
const pluginMicrosoftSdl = require("@microsoft/eslint-plugin-sdl");
module.exports = [
...pluginMicrosoftSdl.configs.recommended,
{
rules: {
"no-eval": "error",
"@microsoft/sdl/no-inner-html": "error"
}
}
];
You can also used the below Shareable Config files using flat config model as guidelines depending on the type of project.
Plugin is shipped with following Shareable Configs:
- angular - Set of rules for modern Angular applications
- angularjs - Set of rules for legacy AngularJS applications
- common - Set of rules for common JavaScript applications
- electron - Set of rules for Electron applications
- node - Set of rules for Node.js applications
- react - Set of rules for ReactJS applications
- recommended - SDL Recommended rules for all applications
- required - SDL Required rules for all applications
- typescript - Set of rules for TypeScript applications
Rules
Where possible, we leverage existing rules from ESLint and community plugins such as react, typescript-eslint or security.
We also implemented several custom rules where we did not find sufficient alternative in the community.
| Name | Description |
|---|---|
| no-caller | Bans usage of deprecated functions arguments.caller() and arguments.callee that could potentially allow access to call stack. |
| no-delete-var | Bans usage of operator delete on variables as it can lead to unexpected behavior. |
| no-eval | Bans usage of eval() that allows code execution from string argument.… |
Description from the npm listing.
- eslint
- eslintplugin
- eslint-plugin
- sdl
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (591)Similar npm ESLint plugins plugins
All 20 @microsoft/eslint-plugin-sdl alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/@microsoft/eslint-plugin-sdl. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.