avajs/
ESLint rules for AVA
USD raised
Recent activities
Rule proposal: `prefer-t-throws`
Consider extensions in no-import-test-file rule
Handle destructured import of a test modifier
Restrict modifier chaining
Detect config file mishaps
Rule proposal: `test-title-format`
The `assertion-arguments` rule should validate message argument type
`no-inline-assertions` rule
Prevent specifying error type in `t.notThrows()`
Rule proposal: Enforce hooks to be at the top of the test file
Rule proposal: No deepEqual for primitives values
Skipping assertions is changing in AVA 1.0
Rule proposal: `prefer-t-regex`
Make `use-t-well` more auto-fixable
Rule proposal: Put actual values first and expected values second in assertion
Use JSON schema `default` in rules
Incorrect detection of properties of t.context as AVA functions
Regular expression in `t.deepEqual()` shouldn't trigger warning
Detect more assertions in the `t-prefer-regex` rule
Remove options from the `test-title` rule
no-import-test-files incorrectly flags modules that end in .js
test-ended rule does not like macros:
Exception on invalid argument to `require`.
Support the new rule `meta.type` property
Allow use of `t.title` for `use-t-well`
Some rules do not fail gracefully: ava/prefer-t-regex
`ava/use-test` allow inline type imports
`no-import-test-files` is slow
`ava/use-test` does not allow `anyTest` in `.cts` and `.mts` files
TypeError: Cannot destructure property 'type' of 'node' as it is undefined.
Upgrade to eslint `v9`
`max-asserts` rule configuration should be an object
Autofix rules
Agnostic of assertion object name?
Good use of `t.plan(n)` rule
Recommend promisifying in `no-cb-test` rule?
Improve test failures with RuleTester and AVA
Change `no-skip-test` to warning in the recommended preset?
The `no-ignored-tests` rule does not allow simple directory references
Prevent accidentally doing async operations in sync tests
Prevent commented out tests
Ensure argument types in the `assertion-arguments` rule
add `failing-issue-link` rule
`t.context` Functions
Rule `use-test` conflicting with typing of `t.context`
use-t-well is warning about use of t.timeout
Support the ESLint Suggestions API
Wrong example in docs of `ava/no-import-test-files`
Allow different patterns for the `t.try()` callback argument
Recognize the new `t.try()` assertion.
use-test and helpers
Library wrapping Ava
Add integration tests
Support new file and helper selection
When used on TypeScript files, use the type inference rather than name conventions
test.cb.beforeEach and test.cb.afterEach throw error even though `t.end()` is defined
`use-t-pass-well` rule
Suggest `t.throws` for things like `catch`, `exception`, `error`. Also other synonyms?
Rule proposal: Forbid the use `.always` when not used with `after`/`afterEach`
Rule proposal: Forbid nested assertions
Rule proposal: Require to return something when we detect a Promise
Adding `meta` properties
no-ignored-test-files rule gives false alerts in monorepo setups
Add t.assert(), update prefer-power-assert
`use-test`: Allow import statements without default specifier
cannot destructure property 'type' or 'node' as it is undefined
Enable `eslint-plugin/prefer-placeholders` rule
Prefer `t.true(x)` over `t.is(x, true)`
Support ESLint 8.x
Fix integration tests
Allow concatenation when ensuring assertion message is a string
No checks with typed context
Support test.macro()
`no-identical-title` crash
Ensure AVA is specified as a dev dependency
`prefer-t-regex` fails with `t.is()` with a single argument
no-identical-title crashes if title is missing
Edge-case crashes & false-positives in no-statement-after-end with unreachable statements
no-ignored-test-files caches results too aggressively.
ava/no-ignored-test-files - "AVA ignores this file." false positive when using ava in a monorepo structure.
`no-import-test-files` considers `test/helpers/index.js` a test file
Remove redundant rule "no-async-fn-without-await"
Audit that all rules work with optional chaining
Add like assertion
Rule proposal: enforce using (or not using) descriptions with assertions
Š 2019 BoostIO, Inc.