env:
  mocha: true

plugins:
  - chai-friendly
  - mocha

extends:
  - plugin:chai-expect/recommended
  - plugin:chai-friendly/recommended

# Override from root `.eslintrc.yml`
rules:
  # Disabling this rule in favor of mocha/prefer-arrow-callback
  # https://github.com/lo1tuma/eslint-plugin-mocha/blob/master/docs/rules/prefer-arrow-callback.md
  prefer-arrow-callback: off

  ## eslint-plugin-mocha
  ## https://github.com/lo1tuma/eslint-plugin-mocha

  mocha/handle-done-callback: error
  mocha/max-top-level-suites: error
  mocha/no-exclusive-tests: error
  mocha/no-global-tests: error
  mocha/no-hooks: error
  mocha/no-identical-title: error
  mocha/no-mocha-arrows: error
  mocha/no-nested-tests: error
  mocha/no-pending-tests: error
  mocha/no-return-and-callback: error
  mocha/no-sibling-hooks: error
  mocha/no-skipped-tests: error
  mocha/prefer-arrow-callback: error
  mocha/valid-suite-description: error

env:
  mocha: true

plugins:
  - chai-friendly
  - mocha

extends:
  - plugin:chai-expect/recommended
  - plugin:chai-friendly/recommended

# Override from root `.eslintrc.yml`
rules:
  # Disabling this rule in favor of mocha/prefer-arrow-callback
  # https://github.com/lo1tuma/eslint-plugin-mocha/blob/master/docs/rules/prefer-arrow-callback.md
  prefer-arrow-callback: off

  ## eslint-plugin-chai-expect
  ## https://github.com/Turbo87/eslint-plugin-chai-expect
  chai-expect/no-inner-literal: off

  ## eslint-plugin-mocha
  ## https://github.com/lo1tuma/eslint-plugin-mocha

  mocha/handle-done-callback: error
  mocha/max-top-level-suites: error
  mocha/no-exclusive-tests: error
  mocha/no-global-tests: error
  mocha/no-hooks: error
  mocha/no-identical-title: error
  mocha/no-mocha-arrows: error
  mocha/no-nested-tests: error
  mocha/no-pending-tests: error
  mocha/no-return-and-callback: error
  mocha/no-sibling-hooks: error
  mocha/no-skipped-tests: error
  mocha/prefer-arrow-callback: error
  mocha/valid-suite-description: error

Disable chai-expect/no-inner-literal as this plugin actually modifies core assertions
Disable chai-expect/no-inner-literal as this plugin actually modifies core assertions
