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

faceplant

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

faceplant

Failure as a service.

  • 0.0.4
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
13
increased by85.71%
Maintainers
1
Weekly downloads
 
Created
Source

faceplant

This repository contains various scripts that help prevent deploying bad code to production using TSLint.

Install

Install the package using NPM:

yarn add --dev faceplant

Update your tslint.json file to extend this package:

{
  "extends": [
    "faceplant"
  ],
  "rules": {
    "no-unset-env-variables": {
        "options": { "useRealEnv": true },
        "severity": "error"
    },
  }
}

no-unset-env-variables

Makes sure that environmental variables are set as they should be.

Options

useRealEnv (default false)

Use the real environment.

envFilePaths (default [])

Paths to files where the environmental variables are defined. They should be defined in a normal-ish way, like

FOO=1
BAR=2
shouldBeDefined (default [])

Checks that these environmental variables are defined in the real env or the env file paths.

Keywords

FAQs

Package last updated on 17 Nov 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