oxc icon indicating copy to clipboard operation
oxc copied to clipboard

☂️ eslint-plugin-jest

Open Boshen opened this issue 2 years ago • 2 comments

[!WARNING] This comment is maintained by CI. Do not edit this comment directly. To update comment template, see https://github.com/oxc-project/oxc/tree/main/tasks/lint_rules

This is tracking issue for eslint-plugin-jest.

There are 63(+ 0 deprecated) rules.

  • 1/19 recommended rules are remaining as TODO
  • 12/44 not recommended rules are remaining as TODO

To get started, run the following command:

just new-jest-rule <RULE_NAME>

Then register the rule in crates/oxc_linter/src/rules.rs and also declare_all_lint_rules at the bottom.

Recommended rules

✨: 18, 🚫: 0 / total: 19
Status Name Docs
jest/expect-expect https://github.com/jest-community/eslint-plugin-jest/blob/v29.1.0/docs/rules/expect-expect.md
jest/no-alias-methods https://github.com/jest-community/eslint-plugin-jest/blob/v29.1.0/docs/rules/no-alias-methods.md
jest/no-commented-out-tests https://github.com/jest-community/eslint-plugin-jest/blob/v29.1.0/docs/rules/no-commented-out-tests.md
jest/no-conditional-expect https://github.com/jest-community/eslint-plugin-jest/blob/v29.1.0/docs/rules/no-conditional-expect.md
jest/no-deprecated-functions https://github.com/jest-community/eslint-plugin-jest/blob/v29.1.0/docs/rules/no-deprecated-functions.md
jest/no-disabled-tests https://github.com/jest-community/eslint-plugin-jest/blob/v29.1.0/docs/rules/no-disabled-tests.md
jest/no-done-callback https://github.com/jest-community/eslint-plugin-jest/blob/v29.1.0/docs/rules/no-done-callback.md
jest/no-export https://github.com/jest-community/eslint-plugin-jest/blob/v29.1.0/docs/rules/no-export.md
jest/no-focused-tests https://github.com/jest-community/eslint-plugin-jest/blob/v29.1.0/docs/rules/no-focused-tests.md
jest/no-identical-title https://github.com/jest-community/eslint-plugin-jest/blob/v29.1.0/docs/rules/no-identical-title.md
jest/no-interpolation-in-snapshots https://github.com/jest-community/eslint-plugin-jest/blob/v29.1.0/docs/rules/no-interpolation-in-snapshots.md
jest/no-jasmine-globals https://github.com/jest-community/eslint-plugin-jest/blob/v29.1.0/docs/rules/no-jasmine-globals.md
jest/no-mocks-import https://github.com/jest-community/eslint-plugin-jest/blob/v29.1.0/docs/rules/no-mocks-import.md
jest/no-standalone-expect https://github.com/jest-community/eslint-plugin-jest/blob/v29.1.0/docs/rules/no-standalone-expect.md
jest/no-test-prefixes https://github.com/jest-community/eslint-plugin-jest/blob/v29.1.0/docs/rules/no-test-prefixes.md
jest/valid-describe-callback https://github.com/jest-community/eslint-plugin-jest/blob/v29.1.0/docs/rules/valid-describe-callback.md
jest/valid-expect-in-promise https://github.com/jest-community/eslint-plugin-jest/blob/v29.1.0/docs/rules/valid-expect-in-promise.md
jest/valid-expect https://github.com/jest-community/eslint-plugin-jest/blob/v29.1.0/docs/rules/valid-expect.md
jest/valid-title https://github.com/jest-community/eslint-plugin-jest/blob/v29.1.0/docs/rules/valid-title.md

✨ = Implemented, 🚫 = No need to implement

Not recommended rules

✨: 32, 🚫: 0 / total: 44
Status Name Docs
jest/consistent-test-it https://github.com/jest-community/eslint-plugin-jest/blob/v29.1.0/docs/rules/consistent-test-it.md
jest/max-expects https://github.com/jest-community/eslint-plugin-jest/blob/v29.1.0/docs/rules/max-expects.md
jest/max-nested-describe https://github.com/jest-community/eslint-plugin-jest/blob/v29.1.0/docs/rules/max-nested-describe.md
jest/no-conditional-in-test https://github.com/jest-community/eslint-plugin-jest/blob/v29.1.0/docs/rules/no-conditional-in-test.md
jest/no-confusing-set-timeout https://github.com/jest-community/eslint-plugin-jest/blob/v29.1.0/docs/rules/no-confusing-set-timeout.md
jest/no-duplicate-hooks https://github.com/jest-community/eslint-plugin-jest/blob/v29.1.0/docs/rules/no-duplicate-hooks.md
jest/no-hooks https://github.com/jest-community/eslint-plugin-jest/blob/v29.1.0/docs/rules/no-hooks.md
jest/no-large-snapshots https://github.com/jest-community/eslint-plugin-jest/blob/v29.1.0/docs/rules/no-large-snapshots.md
jest/no-restricted-jest-methods https://github.com/jest-community/eslint-plugin-jest/blob/v29.1.0/docs/rules/no-restricted-jest-methods.md
jest/no-restricted-matchers https://github.com/jest-community/eslint-plugin-jest/blob/v29.1.0/docs/rules/no-restricted-matchers.md
jest/no-test-return-statement https://github.com/jest-community/eslint-plugin-jest/blob/v29.1.0/docs/rules/no-test-return-statement.md
jest/no-untyped-mock-factory https://github.com/jest-community/eslint-plugin-jest/blob/v29.1.0/docs/rules/no-untyped-mock-factory.md
jest/padding-around-after-all-blocks https://github.com/jest-community/eslint-plugin-jest/blob/v29.1.0/docs/rules/padding-around-after-all-blocks.md
jest/padding-around-after-each-blocks https://github.com/jest-community/eslint-plugin-jest/blob/v29.1.0/docs/rules/padding-around-after-each-blocks.md
jest/padding-around-all https://github.com/jest-community/eslint-plugin-jest/blob/v29.1.0/docs/rules/padding-around-all.md
jest/padding-around-before-all-blocks https://github.com/jest-community/eslint-plugin-jest/blob/v29.1.0/docs/rules/padding-around-before-all-blocks.md
jest/padding-around-before-each-blocks https://github.com/jest-community/eslint-plugin-jest/blob/v29.1.0/docs/rules/padding-around-before-each-blocks.md
jest/padding-around-describe-blocks https://github.com/jest-community/eslint-plugin-jest/blob/v29.1.0/docs/rules/padding-around-describe-blocks.md
jest/padding-around-expect-groups https://github.com/jest-community/eslint-plugin-jest/blob/v29.1.0/docs/rules/padding-around-expect-groups.md
jest/padding-around-test-blocks https://github.com/jest-community/eslint-plugin-jest/blob/v29.1.0/docs/rules/padding-around-test-blocks.md
jest/prefer-called-with https://github.com/jest-community/eslint-plugin-jest/blob/v29.1.0/docs/rules/prefer-called-with.md
jest/prefer-comparison-matcher https://github.com/jest-community/eslint-plugin-jest/blob/v29.1.0/docs/rules/prefer-comparison-matcher.md
jest/prefer-each https://github.com/jest-community/eslint-plugin-jest/blob/v29.1.0/docs/rules/prefer-each.md
jest/prefer-ending-with-an-expect https://github.com/jest-community/eslint-plugin-jest/blob/v29.1.0/docs/rules/prefer-ending-with-an-expect.md
jest/prefer-equality-matcher https://github.com/jest-community/eslint-plugin-jest/blob/v29.1.0/docs/rules/prefer-equality-matcher.md
jest/prefer-expect-assertions https://github.com/jest-community/eslint-plugin-jest/blob/v29.1.0/docs/rules/prefer-expect-assertions.md
jest/prefer-expect-resolves https://github.com/jest-community/eslint-plugin-jest/blob/v29.1.0/docs/rules/prefer-expect-resolves.md
jest/prefer-hooks-in-order https://github.com/jest-community/eslint-plugin-jest/blob/v29.1.0/docs/rules/prefer-hooks-in-order.md
jest/prefer-hooks-on-top https://github.com/jest-community/eslint-plugin-jest/blob/v29.1.0/docs/rules/prefer-hooks-on-top.md
jest/prefer-importing-jest-globals https://github.com/jest-community/eslint-plugin-jest/blob/v29.1.0/docs/rules/prefer-importing-jest-globals.md
jest/prefer-jest-mocked https://github.com/jest-community/eslint-plugin-jest/blob/v29.1.0/docs/rules/prefer-jest-mocked.md
jest/prefer-lowercase-title https://github.com/jest-community/eslint-plugin-jest/blob/v29.1.0/docs/rules/prefer-lowercase-title.md
jest/prefer-mock-promise-shorthand https://github.com/jest-community/eslint-plugin-jest/blob/v29.1.0/docs/rules/prefer-mock-promise-shorthand.md
jest/prefer-snapshot-hint https://github.com/jest-community/eslint-plugin-jest/blob/v29.1.0/docs/rules/prefer-snapshot-hint.md
jest/prefer-spy-on https://github.com/jest-community/eslint-plugin-jest/blob/v29.1.0/docs/rules/prefer-spy-on.md
jest/prefer-strict-equal https://github.com/jest-community/eslint-plugin-jest/blob/v29.1.0/docs/rules/prefer-strict-equal.md
jest/prefer-to-be https://github.com/jest-community/eslint-plugin-jest/blob/v29.1.0/docs/rules/prefer-to-be.md
jest/prefer-to-contain https://github.com/jest-community/eslint-plugin-jest/blob/v29.1.0/docs/rules/prefer-to-contain.md
jest/prefer-to-have-length https://github.com/jest-community/eslint-plugin-jest/blob/v29.1.0/docs/rules/prefer-to-have-length.md
jest/prefer-todo https://github.com/jest-community/eslint-plugin-jest/blob/v29.1.0/docs/rules/prefer-todo.md
jest/require-hook https://github.com/jest-community/eslint-plugin-jest/blob/v29.1.0/docs/rules/require-hook.md
jest/require-to-throw-message https://github.com/jest-community/eslint-plugin-jest/blob/v29.1.0/docs/rules/require-to-throw-message.md
jest/require-top-level-describe https://github.com/jest-community/eslint-plugin-jest/blob/v29.1.0/docs/rules/require-top-level-describe.md
jest/unbound-method https://github.com/jest-community/eslint-plugin-jest/blob/v29.1.0/docs/rules/unbound-method.md

✨ = Implemented, 🚫 = No need to implement

Boshen avatar Jun 28 '23 10:06 Boshen

@mysteryven Can you setup a todo list in issue summary?

Boshen avatar Jul 05 '23 04:07 Boshen

I will start working on the task of jest/require-to-throw-message.

keita-hino avatar Feb 11 '24 01:02 keita-hino