New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

tslint-config-airbnb-base

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tslint-config-airbnb-base

Airbnb's base TSLint config, following Airbnb's styleguide

  • 0.2.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
869
decreased by-5.13%
Maintainers
1
Weekly downloads
 
Created
Source

tslint-config-airbnb-base

Downloads per Month NPM Version License

This package provides Airbnb's base TSLint (without React plugins) as an extensible shared config.

Purpose

This package is aimed to have all the rules supplied by the original eslint-config-airbnb-base, unlike tslint-config-airbnb where it just contains what is in the Airbnb JavaScript Style Guide. However, many rules are not implemented in TSLint yet, thus this package requires updating when more rules are created (see Contributing).

Installation

npm i -D tslint-config-airbnb-base

Usage

Add to your tslint.json:

{
  "extends": "tslint-config-airbnb-base"
}

Contributing

The aim of this config is to be as closed to the original eslint-config-airbnb-base as possible, so if any of the rules are out of sync with this package, feel free to submit a pull request.

Rules that are currently not supported are commented with NO-SUPPORT so they can easily be found by

grep NO-SUPPORT rules/*

When a rule becomes supported, simply remove NO-SUPPORT after adding the rule. Feel free to add any rules packages. Currently the following are used (be sure to check them for updates):

Rules are that not applicable in TypeScript are commented with NOT-APPLICABLE, so similarly you can run

grep NOT-APPLICABLE rules/*

These will probably never be changed and are kept just to remind ourselves what's not needed anymore.

License

MIT license

Keywords

FAQs

Package last updated on 08 Jul 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