Skip to content

v2.4.0

Compare
Choose a tag to compare
@levibuzolic levibuzolic released this 04 Dec 01:46
b255d9a
  • Add support for defining 2 levels deep in blocks (ie. ava.default)
  rules: {
    'no-only-tests/no-only-tests': ['error', {
      block: ['ava.default'],
      focus: ['only']
    }]
  }

Will now raise lint errors for code that looks like:

ava.default.only(() => {})