Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-plugin-ng-extra

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-ng-extra

ESLint plugin for Angular applications

  • 0.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

eslint-plugin-ng-extra

ESLint plugin for Angular applications.

CI codecov License: MIT

Propose or contribute a new rule ➡

Install

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

Usage

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"
  ]
}

Rules

:white_check_mark: = done
:construction: = work in progress

Best practices

RuleDescriptionStatus
check-http-errorsChecks that when using the HTTP client, error are caught:white_check_mark:
no-dangling-subscriptionChecks that there are no dangling subscriptions in a component:white_check_mark:
no-nested-subscriptionsChecks that there are no nested subscriptions in a component:white_check_mark:
no-subject-expositionChecks that no subjects are publicly exposed:white_check_mark:

Keywords

FAQs

Package last updated on 22 Jul 2020

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