Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jest-community/eslint-plugin-jest
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v27.1.3
Choose a base ref
...
head repository: jest-community/eslint-plugin-jest
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v27.1.4
Choose a head ref
  • 6 commits
  • 66 files changed
  • 5 contributors

Commits on Oct 19, 2022

  1. Copy the full SHA
    54db0b9 View commit details

Commits on Oct 24, 2022

  1. Copy the full SHA
    48b969e View commit details

Commits on Oct 31, 2022

  1. Copy the full SHA
    ae6cfb7 View commit details

Commits on Nov 4, 2022

  1. Copy the full SHA
    b9faa0f View commit details
  2. Copy the full SHA
    e4a5674 View commit details
  3. chore(release): 27.1.4 [skip ci]

    ## [27.1.4](v27.1.3...v27.1.4) (2022-11-04)
    
    ### Performance Improvements
    
    * don't collect more info than needed when resolving jest functions ([#1275](#1275)) ([e4a5674](e4a5674))
    semantic-release-bot committed Nov 4, 2022
    Copy the full SHA
    96557c4 View commit details
Showing with 828 additions and 1,312 deletions.
  1. +4 −0 .eslintrc.js
  2. +1 −1 .github/workflows/nodejs.yml
  3. +7 −0 CHANGELOG.md
  4. +81 −80 README.md
  5. +4 −11 docs/rules/consistent-test-it.md
  6. +3 −4 docs/rules/expect-expect.md
  7. +1 −5 docs/rules/max-expects.md
  8. +1 −5 docs/rules/max-nested-describe.md
  9. +8 −10 docs/rules/no-alias-methods.md
  10. +3 −4 docs/rules/no-commented-out-tests.md
  11. +4 −5 docs/rules/no-conditional-expect.md
  12. +1 −5 docs/rules/no-conditional-in-test.md
  13. +5 −7 docs/rules/no-deprecated-functions.md
  14. +3 −4 docs/rules/no-disabled-tests.md
  15. +6 −8 docs/rules/no-done-callback.md
  16. +1 −5 docs/rules/no-duplicate-hooks.md
  17. +3 −4 docs/rules/no-export.md
  18. +5 −7 docs/rules/no-focused-tests.md
  19. +1 −5 docs/rules/no-hooks.md
  20. +3 −4 docs/rules/no-identical-title.md
  21. +2 −2 docs/rules/no-if.md
  22. +3 −4 docs/rules/no-interpolation-in-snapshots.md
  23. +6 −8 docs/rules/no-jasmine-globals.md
  24. +2 −6 docs/rules/no-large-snapshots.md
  25. +3 −4 docs/rules/no-mocks-import.md
  26. +1 −5 docs/rules/no-restricted-jest-methods.md
  27. +1 −5 docs/rules/no-restricted-matchers.md
  28. +3 −4 docs/rules/no-standalone-expect.md
  29. +6 −8 docs/rules/no-test-prefixes.md
  30. +1 −5 docs/rules/no-test-return-statement.md
  31. +1 −5 docs/rules/prefer-called-with.md
  32. +3 −8 docs/rules/prefer-comparison-matcher.md
  33. +1 −5 docs/rules/prefer-each.md
  34. +3 −8 docs/rules/prefer-equality-matcher.md
  35. +3 −10 docs/rules/prefer-expect-assertions.md
  36. +3 −8 docs/rules/prefer-expect-resolves.md
  37. +1 −5 docs/rules/prefer-hooks-in-order.md
  38. +1 −5 docs/rules/prefer-hooks-on-top.md
  39. +3 −8 docs/rules/prefer-lowercase-title.md
  40. +3 −8 docs/rules/prefer-mock-promise-shorthand.md
  41. +1 −5 docs/rules/prefer-snapshot-hint.md
  42. +3 −10 docs/rules/prefer-spy-on.md
  43. +3 −10 docs/rules/prefer-strict-equal.md
  44. +5 −7 docs/rules/prefer-to-be.md
  45. +5 −9 docs/rules/prefer-to-contain.md
  46. +5 −9 docs/rules/prefer-to-have-length.md
  47. +3 −10 docs/rules/prefer-todo.md
  48. +1 −5 docs/rules/require-hook.md
  49. +1 −7 docs/rules/require-to-throw-message.md
  50. +1 −5 docs/rules/require-top-level-describe.md
  51. +2 −4 docs/rules/unbound-method.md
  52. +3 −4 docs/rules/valid-describe-callback.md
  53. +4 −5 docs/rules/valid-expect-in-promise.md
  54. +3 −6 docs/rules/valid-expect.md
  55. +5 −7 docs/rules/valid-title.md
  56. +3 −2 package.json
  57. +1 −1 src/rules/consistent-test-it.ts
  58. +1 −1 src/rules/no-conditional-expect.ts
  59. +1 −1 src/rules/no-done-callback.ts
  60. +1 −1 src/rules/no-large-snapshots.ts
  61. +1 −1 src/rules/no-test-prefixes.ts
  62. +34 −8 src/rules/utils/parseJestFnCall.ts
  63. +1 −1 src/rules/valid-expect-in-promise.ts
  64. +0 −264 tools/regenerate-docs.ts
  65. +0 −116 tools/rule-notices.ts
  66. +545 −518 yarn.lock
4 changes: 4 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -32,6 +32,10 @@ module.exports = {
'@typescript-eslint/ban-types': 'error',
'@typescript-eslint/no-unused-vars': 'error',
'eslint-comments/no-unused-disable': 'error',
'eslint-plugin/require-meta-docs-description': [
'error',
{ pattern: '^(Enforce|Require|Disallow|Suggest|Prefer)' },
],
'eslint-plugin/test-case-property-ordering': 'error',
'no-else-return': 'error',
'no-negated-condition': 'error',
2 changes: 1 addition & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -67,7 +67,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [14.x, 16.x, 18.x]
node-version: [14.x, 16.x, 18.x, 19.x]
eslint-version: [7, 8]
runs-on: ubuntu-latest

7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## [27.1.4](https://github.com/jest-community/eslint-plugin-jest/compare/v27.1.3...v27.1.4) (2022-11-04)


### Performance Improvements

* don't collect more info than needed when resolving jest functions ([#1275](https://github.com/jest-community/eslint-plugin-jest/issues/1275)) ([e4a5674](https://github.com/jest-community/eslint-plugin-jest/commit/e4a567434d84585e01efcdd22ca7e77288069ae5))

## [27.1.3](https://github.com/jest-community/eslint-plugin-jest/compare/v27.1.2...v27.1.3) (2022-10-18)


Loading