Skip to content

Commit

Permalink
Ver/5.38.26 (#399)
Browse files Browse the repository at this point in the history
* eslint-config-seekingalpha-tests ver. 1.99.0
- [deps] upgrade `eslint-plugin-jest` to version `28.6.0`
- [breaking] enable `jest/prefer-jest-mocked` rule

* eslint-config-seekingalpha-typescript ver. 5.8.0
- [deps] upgrade `@typescript-eslint/eslint-plugin` to version `7.13.0`
- [deps] upgrade `@typescript-eslint/parser` to version `7.13.0`
  • Loading branch information
alexkoval authored Jun 11, 2024
1 parent 72bc8d6 commit 24593a0
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 16 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.99.0 - 2024-06-11

- [deps] upgrade `eslint-plugin-jest` to version `28.6.0`
- [breaking] enable `jest/prefer-jest-mocked` rule

## 1.98.0 - 2024-05-04

- [deps] upgrade `eslint-plugin-jest` to version `28.5.0`
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.5.0 [email protected] --save-dev
npm install [email protected] eslint-plugin-jest@28.6.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.98.0",
"version": "1.99.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.5.0",
"eslint-plugin-jest": "28.6.0",
"eslint-plugin-testing-library": "6.2.2"
},
"devDependencies": {
"eslint": "8.57.0",
"eslint-find-rules": "4.1.0",
"eslint-plugin-jest": "28.5.0",
"eslint-plugin-jest": "28.6.0",
"eslint-plugin-testing-library": "6.2.2"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,9 @@ module.exports = {
// https://github.com/jest-community/eslint-plugin-jest/blob/main/docs/rules/prefer-importing-jest-globals.md
'jest/prefer-importing-jest-globals': 'error',

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

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

Expand All @@ -154,6 +157,9 @@ module.exports = {
// https://github.com/jest-community/eslint-plugin-jest/blob/HEAD/docs/rules/prefer-todo.md
'jest/prefer-todo': 'error',

// https://github.com/jest-community/eslint-plugin-jest/blob/main/docs/rules/require-hook.md
'jest/require-hook': 'off',

// https://github.com/jest-community/eslint-plugin-jest/blob/HEAD/docs/rules/require-tothrow-message.md
'jest/require-to-throw-message': 'error',

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Change Log

## 5.8.0 - 2024-06-11

- [deps] upgrade `@typescript-eslint/eslint-plugin` to version `7.13.0`
- [deps] upgrade `@typescript-eslint/parser` to version `7.13.0`

## 5.7.0 - 2024-06-04

- [deps] upgrade `@typescript-eslint/eslint-plugin` to version `7.12.0`
Expand Down
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] @typescript-eslint/eslint-plugin@7.12.0 @typescript-eslint/parser@7.12.0 --save-dev
npm install [email protected] @typescript-eslint/eslint-plugin@7.13.0 @typescript-eslint/parser@7.13.0 --save-dev

Install SeekingAlpha shareable ESLint:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-config-seekingalpha-typescript",
"version": "5.7.0",
"version": "5.8.0",
"description": "SeekingAlpha's sharable typescript ESLint config",
"main": "index.js",
"scripts": {
Expand Down Expand Up @@ -37,13 +37,13 @@
"node": ">= 20"
},
"peerDependencies": {
"@typescript-eslint/eslint-plugin": "7.12.0",
"@typescript-eslint/parser": "7.12.0",
"@typescript-eslint/eslint-plugin": "7.13.0",
"@typescript-eslint/parser": "7.13.0",
"eslint": "8.57.0"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "7.12.0",
"@typescript-eslint/parser": "7.12.0",
"@typescript-eslint/eslint-plugin": "7.13.0",
"@typescript-eslint/parser": "7.13.0",
"eslint": "8.57.0",
"eslint-find-rules": "4.1.0"
}
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "seekingalpha-javascript-style",
"version": "5.38.25",
"version": "5.38.26",
"description": "Set of linting rules, guides and best practices for best Javascript code",
"main": "index.js",
"type": "module",
Expand Down Expand Up @@ -47,15 +47,15 @@
"devDependencies": {
"@seekingalpha/prettier-config-samw": "2.0.0",
"eslint": "8.57.0",
"eslint-config-seekingalpha-base": "8.0.0",
"eslint-config-seekingalpha-base": "8.4.0",
"eslint-config-seekingalpha-node": "5.54.0",
"eslint-plugin-array-func": "4.0.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-promise": "6.1.1",
"eslint-plugin-unicorn": "52.0.0",
"eslint-plugin-promise": "6.2.0",
"eslint-plugin-unicorn": "53.0.0",
"husky": "9.0.11",
"lint-staged": "15.2.2",
"prettier": "3.2.5"
"lint-staged": "15.2.5",
"prettier": "3.3.2"
}
}

0 comments on commit 24593a0

Please sign in to comment.