@strv/eslint-config-mocha

4.0.0 • Public • Published

@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.

Readme

Keywords

Package Sidebar

Install

npm i @strv/eslint-config-mocha

Weekly Downloads

80

Version

4.0.0

License

BSD-3-Clause

Unpacked Size

15.4 kB

Total Files

5

Last publish

Collaborators

  • lucasconstantino
  • strvuser
  • robertrossmann
  • xhudec