Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
eslint-plugin-ng-extra
Advanced tools
ESLint plugin for Angular applications.
Propose or contribute a new rule ➡
Make sure you have TypeScript and @typescript-eslint/parser
installed:
$ npm install --save-dev typescript @typescript-eslint/parser
Then install the plugin
$ npm install --save-dev eslint eslint-plugin-ng-extra
Add @typescript-eslint/parser
to the parser field and ng-extra
to the plugins section of your .eslintrc configuration file, then configure the rules you want to use under the rules section.
{
"parser": "@typescript-eslint/parser",
"plugins": ["ng-extra"],
"extends": [
"plugin:@typescript-eslint/recommended",
"plugin:ng-extra"
]
}
:white_check_mark: = done |
:construction: = work in progress |
Rule | Description | Status |
---|---|---|
check-http-errors | Checks that when using the HTTP client, error are caught | :white_check_mark: |
no-dangling-subscription | Checks that there are no dangling subscriptions in a component | :white_check_mark: |
no-nested-subscriptions | Checks that there are no nested subscriptions in a component | :white_check_mark: |
no-subject-exposition | Checks that no subjects are publicly exposed | :white_check_mark: |
FAQs
ESLint plugin for Angular applications
The npm package eslint-plugin-ng-extra receives a total of 0 weekly downloads. As such, eslint-plugin-ng-extra popularity was classified as not popular.
We found that eslint-plugin-ng-extra demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.