Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@overlookmotel/eslint-config-tests

overlookmotel3MIT6.0.0

@overlookmotel's ESLint config for tests with mocha and chai

eslint, eslintconfig, config, overlookmotel, test, tests, mocha, chai

readme

NPM version Build Status Dependency Status Dev dependency Status Coverage Status

@overlookmotel's ESLint config for tests with mocha and chai

Usage

Add to .eslintrc: "extends": "@overlookmotel/eslint-config-tests"

NB Does not extend the base config @overlookmotel/eslint-config so use "extends": "@overlookmotel/eslint-config" too in .eslintrc.

Add dev dependencies in package.json:

  • @overlookmotel/eslint-config-tests
  • eslint

If using NPM before v7, additionally add peer dependencies as dev dependencies in package.json:

  • eslint-plugin-chai-friendly

Versioning

This module follows semver. Breaking changes will only be made in major version updates.

All active NodeJS release lines are supported (v12+ at time of writing). After a release line of NodeJS reaches end of life according to Node's LTS schedule, support for that version of Node may be dropped at any time, and this will not be considered a breaking change. Dropping support for a Node version will be made in a minor version update (e.g. 1.2.0 to 1.3.0). If you are using a Node version which is approaching end of life, pin your dependency of this module to patch updates only using tilde (~) e.g. ~1.2.3 to avoid breakages.

Tests

Use npm test to run the tests. Use npm run cover to check coverage.

Changelog

See changelog.md

Issues

If you discover a bug, please raise an issue on Github. https://github.com/overlookmotel/eslint-config-tests/issues

Contribution

Pull requests are very welcome. Please:

  • ensure all tests pass before submitting PR
  • add tests for new features
  • document new functionality/API additions in README
  • do not add an entry to Changelog (Changelog is created when cutting releases)

changelog

Changelog

6.0.0

Breaking changes:

  • Update to ESLint 8

Dev:

  • Run tests on CI on Node v17
  • Clean up after cover NPM script even if fails
  • Update dev dependencies

Docs:

  • Update license year

5.0.1

Docs:

  • README update

5.0.0

Features:

  • Drop support for Node v10

Dependencies:

  • Update peer dependencies

No code:

  • Linting fixes

Dev:

  • Use NPM v7 for development
  • Use Github Actions for CI
  • Update dev dependencies

Docs:

  • Remove Greenkeeper badge
  • Update license year
  • Remove license indentation

4.1.0

Features:

  • Drop support for Node v13

Deps:

  • Update peer dependencies

Dev:

  • Replace .npmignore with files list in package.json
  • Update dev dependencies
  • CI run tests on Node v14
  • .editorconfig config
  • Simplify lint scripts
  • Remove sudo key from Travis CI config
  • Travis CI cache NPM

4.0.1

Dev:

  • Update .gitignore + .npmignore

4.0.0

Breaking changes:

  • Drop support for Node v8

Dependencies:

  • Update ESLint peer dependencies

Refactor:

  • Import file extensions

No code:

  • Header code comments

Dev:

  • CI run tests on Node v13
  • Update dev dependencies
  • ESLint ignore coverage dir
  • Tab width 2 in .editorconfig

Docs:

  • Versioning policy
  • Update license year

3.0.0

Breaking changes:

  • Update ESLint peer dependencies

Dev:

  • Update dev dependencies

2.1.0

Features:

  • Update ESLint peer dependency

Dev:

  • Update dev dependencies

2.0.1

Dev:

  • Update dev dependencies

2.0.0

Breaking changes:

  • Drop support for Node v6
  • Update peer dependencies

Dev:

  • CI run tests on Node v12
  • package-lock.json
  • Update dev dependencies

Doc:

  • Correct README

1.0.5

Dev:

  • Lint tests with self
  • Update dev dependency @overlookmotel/eslint-config
  • Git ignore package-lock.json
  • Reformat package.json

1.0.4

  • Update dependencies
  • Test: Fix lint error [refactor]

1.0.3

  • README update
  • Update dev dependency @overlookmotel/eslint-config
  • Rename CI npm script ci
  • NPM ignore .gitattributes

1.0.2

  • Tests
  • Fix: Changelog

1.0.1

  • Erroneous empty release

1.0.0

  • Initial release