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

ns8-tslint

Package Overview
Dependencies
Maintainers
9
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ns8-tslint

These are the NS8 company-wide tslint rules to be used across all projects that have TypeScript.

  • 2.0.0
  • latest
  • npm
  • Socket score

Version published
Maintainers
9
Created
Source

ns8-tslint

These are the NS8 company-wide tslint rules to be used across all projects that use TypeScript.

Install in your project

  1. Be sure you have typescript and tslint installed locally
  2. Run yarn add ns8-tslint --dev
  3. Add a file called tslint.json to the root of your project with the following JSON
{
  "extends": "ns8-tslint"
}
  1. Running tslint in your project should now utilize these rules

A Note on Overrides

A rule-set listed later in the extends array will override any common rules from
the sets that preceded it.

{
  "extends": ["tslint-react", "ns8-tslint"]
}

In the example shown above:

If the rule "jsx-no-multiline-js": false," exists in tslint-react and the competing rule "jsx-no-multiline-js": true, exists in ns8-tslint, the rule from ns8-tslint would be enforced because it was declared later in the extends array.

Keywords

FAQs

Package last updated on 28 Sep 2018

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