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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
3.0.0-alpha.50next
4.0.077latest

Version History

VersionDownloads (Last 7 Days)Published
4.0.077
3.3.241
3.3.10
3.3.00
3.2.01
3.1.0236
3.0.00
3.0.0-alpha.50
3.0.0-alpha.41
3.0.0-alpha.30
3.0.0-alpha.20
3.0.0-alpha.10
3.0.0-alpha.00
2.2.15
2.2.00
2.1.10
2.1.00
2.0.00
1.1.30
1.1.20
1.1.10
1.1.00
1.0.00
0.1.1-alpha.10
0.1.1-alpha.00

Package Sidebar

Install

npm i @strv/eslint-config-mocha

Weekly Downloads

361

Version

4.0.0

License

BSD-3-Clause

Unpacked Size

15.4 kB

Total Files

5

Last publish

Collaborators

  • lucasconstantino
  • strvuser
  • robertrossmann
  • xhudec