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

@strv/eslint-config-mocha

Package Overview
Dependencies
Maintainers
4
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@strv/eslint-config-mocha

STRV's ESLint config for projects using Mocha as test runner

  • 4.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
291
increased by90.2%
Maintainers
4
Weekly downloads
 
Created
Source

@strv/eslint-config-mocha

Configuration for Mocha test files.

Installation

npm install -D @strv/eslint-config-mocha

Usage

// eslint.config.mjs
import mocha from '@strv/eslint-config-mocha'

/** @type {Array<import("eslint").Linter.FlatConfig>} */
const config = [{
  // Perhaps also apply other configs?
  { files: ['**/*.test.js'], ...mocha },
}]

export default config

License

See the LICENSE file for information.

Keywords

FAQs

Package last updated on 16 Feb 2024

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