Skip to content

Commit

Permalink
eslint-config-seekingalpha-tests ver. 1.97.0
Browse files Browse the repository at this point in the history
- [deps] upgrade `eslint-plugin-jest` to version `28.3.0`
- [breaking] enable `jest/prefer-importing-jest-globals` rule
  • Loading branch information
alexkoval committed Apr 27, 2024
1 parent 1c17320 commit 1a98301
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions eslint-configs/eslint-config-seekingalpha-tests/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Change Log

## 1.97.0 - 2024-04-17

- [deps] upgrade `eslint-plugin-jest` to version `28.3.0`
- [breaking] enable `jest/prefer-importing-jest-globals` rule

## 1.96.0 - 2024-04-16

- [deps] upgrade `eslint-plugin-testing-library` to version `6.2.2`
Expand Down
2 changes: 1 addition & 1 deletion eslint-configs/eslint-config-seekingalpha-tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This package includes the shareable ESLint config used by [SeekingAlpha](https:/

Install ESLint and all [Peer Dependencies](https://nodejs.org/en/blog/npm/peer-dependencies/):

npm install [email protected] eslint-plugin-jest@28.2.0 [email protected] --save-dev
npm install [email protected] eslint-plugin-jest@28.3.0 [email protected] --save-dev

Install SeekingAlpha shareable ESLint:

Expand Down
6 changes: 3 additions & 3 deletions eslint-configs/eslint-config-seekingalpha-tests/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-config-seekingalpha-tests",
"version": "1.96.0",
"version": "1.97.0",
"description": "SeekingAlpha's sharable testing ESLint config",
"main": "index.js",
"scripts": {
Expand Down Expand Up @@ -39,13 +39,13 @@
},
"peerDependencies": {
"eslint": "8.57.0",
"eslint-plugin-jest": "28.2.0",
"eslint-plugin-jest": "28.3.0",
"eslint-plugin-testing-library": "6.2.2"
},
"devDependencies": {
"eslint": "8.57.0",
"eslint-find-rules": "4.1.0",
"eslint-plugin-jest": "28.2.0",
"eslint-plugin-jest": "28.3.0",
"eslint-plugin-testing-library": "6.2.2"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ module.exports = {
'jest/prefer-hooks-on-top': 'error',

// https://github.com/jest-community/eslint-plugin-jest/blob/main/docs/rules/prefer-importing-jest-globals.md
'jest/prefer-importing-jest-globals': 'off',
'jest/prefer-importing-jest-globals': 'error',

// https://github.com/jest-community/eslint-plugin-jest/blob/HEAD/docs/rules/prefer-spy-on.md
'jest/prefer-spy-on': 'error',
Expand Down

0 comments on commit 1a98301

Please sign in to comment.