---
  # See https://github.com/avajs/eslint-plugin-ava#usage
  plugins:
    - ava
  rules:
    ava/assertion-arguments: error
    ava/max-asserts:
      - 'off'
      - 5
    ava/no-async-fn-without-await: error
    ava/no-cb-test: 'off'
    ava/no-duplicate-modifiers: error
    ava/no-identical-title: error
    ava/no-ignored-test-files: error
    ava/no-invalid-end: error
    ava/no-nested-tests: error
    ava/no-only-test: error
    ava/no-skip-assert: error
    # Allow skipping tests
    ava/no-skip-test: off
    ava/no-statement-after-end: error
    ava/no-todo-implementation: error
    ava/no-todo-test: warn
    ava/no-unknown-modifiers: error
    ava/prefer-async-await: error
    ava/prefer-power-assert: 'off'
    ava/test-ended: error
    ava/test-title:
      - error
      - if-multiple
    ava/use-t-well: error
    ava/use-t: error
    ava/use-test: error
    ava/use-true-false: error
    # t variable is used for tests
    id-length:
      - error
      - exceptions:
        - t
    # Support should constructs like result.should.be.true;
    no-unused-expressions: 'off'
    # Allow local requires for tests
    global-require: 'off'
    # Allow t.context reassignment
    no-param-reassign:
      - error
      - props: true
        ignorePropertyModificationsFor:
        - t

---
  extends: "@dosomething/eslint-config/node/ava"
  rules:
    # Allow skipping tests for now
    ava/no-skip-test: off

Use provided ava eslint configuration
Use provided ava eslint configuration
