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

coffeelint-no-mocha-only

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

coffeelint-no-mocha-only

This CoffeeLint plugin verifies there are no describe.only's or it.only's left in mocha tests

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
281
decreased by-28.5%
Maintainers
1
Weekly downloads
 
Created
Source

CoffeeLint - no-mocha-only

NPM Version

Description

This CoffeeLint plugin verifies there are no describe.only or it.only in use. If you are using mocha, using describe.only or it.only is helpful when developing tests locally, but to avoid committing the only usage and preventing the full test suite from being run in the future, you can use this coffeelint rule.

Installation

[sudo] npm install [-g] coffeelint-no-mocha-only

Usage

Insert the below configuration into coffeelint.json that you use for linting your scripts:

"no_mocha_only": {
    "module": "coffeelint-no-mocha-only",
    "level": "error"
}

Configuration

There are no configuration options for this plugin

Keywords

FAQs

Package last updated on 21 Dec 2015

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