eslint-config-seekingalpha-react 4.80.0 → 4.83.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/README.md +1 -1
- package/package.json +3 -3
- package/rules/eslint-plugin-jest/index.js +0 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 4.83.1 - 2021-10-10
|
|
4
|
+
- [breaking] update `jest/no-restricted-matchers` rule
|
|
5
|
+
|
|
6
|
+
## 4.83.0 - 2021-10-10
|
|
7
|
+
- [deps] upgrade `eslint-plugin-jest` to version `24.7.0`
|
|
8
|
+
|
|
9
|
+
## 4.82.0 - 2021-10-10
|
|
10
|
+
- [deps] upgrade `eslint-plugin-jest` to version `24.6.0`
|
|
11
|
+
|
|
12
|
+
## 4.81.0 - 2021-10-03
|
|
13
|
+
- [deps] upgrade `eslint-plugin-jest` to version `24.5.2`
|
|
14
|
+
|
|
3
15
|
## 4.80.0 - 2021-10-03
|
|
4
16
|
- [patch] fixed `jest/no-restricted-matchers` rule according to `jest/prefer-expect-resolves`
|
|
5
17
|
|
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ This package includes the shareable ESLint config used by [SeekingAlpha](https:/
|
|
|
6
6
|
|
|
7
7
|
Install ESLint and all [Peer Dependencies](https://nodejs.org/en/blog/npm/peer-dependencies/):
|
|
8
8
|
|
|
9
|
-
npm install eslint@7.32.0 eslint-plugin-flowtype@6.1.0 eslint-plugin-jest@24.
|
|
9
|
+
npm install eslint@7.32.0 eslint-plugin-flowtype@6.1.0 eslint-plugin-jest@24.6.0 eslint-plugin-jsx-a11y@6.4.1 eslint-plugin-react@7.26.1 eslint-plugin-react-hooks@4.2.0 --save-dev
|
|
10
10
|
|
|
11
11
|
Install SeekingAlpha shareable ESLint:
|
|
12
12
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-seekingalpha-react",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.83.1",
|
|
4
4
|
"description": "SeekingAlpha's sharable React.js ESLint config",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"peerDependencies": {
|
|
52
52
|
"eslint": "7.32.0",
|
|
53
53
|
"eslint-plugin-flowtype": "6.1.0",
|
|
54
|
-
"eslint-plugin-jest": "24.
|
|
54
|
+
"eslint-plugin-jest": "24.7.0",
|
|
55
55
|
"eslint-plugin-jsx-a11y": "6.4.1",
|
|
56
56
|
"eslint-plugin-react": "7.26.1",
|
|
57
57
|
"eslint-plugin-react-hooks": "4.2.0"
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"eslint": "7.32.0",
|
|
61
61
|
"eslint-find-rules": "3.6.1",
|
|
62
62
|
"eslint-plugin-flowtype": "6.1.0",
|
|
63
|
-
"eslint-plugin-jest": "24.
|
|
63
|
+
"eslint-plugin-jest": "24.7.0",
|
|
64
64
|
"eslint-plugin-jsx-a11y": "6.4.1",
|
|
65
65
|
"eslint-plugin-react": "7.26.1",
|
|
66
66
|
"eslint-plugin-react-hooks": "4.2.0"
|
|
@@ -117,12 +117,6 @@ module.exports = {
|
|
|
117
117
|
// https://github.com/jest-community/eslint-plugin-jest/blob/main/docs/rules/prefer-to-be.md
|
|
118
118
|
'jest/prefer-to-be': 'error',
|
|
119
119
|
|
|
120
|
-
// https://github.com/jest-community/eslint-plugin-jest/blob/master/docs/rules/prefer-to-be-null.md
|
|
121
|
-
'jest/prefer-to-be-null': 'error',
|
|
122
|
-
|
|
123
|
-
// https://github.com/jest-community/eslint-plugin-jest/blob/master/docs/rules/prefer-to-be-undefined.md
|
|
124
|
-
'jest/prefer-to-be-undefined': 'error',
|
|
125
|
-
|
|
126
120
|
// https://github.com/jest-community/eslint-plugin-jest/blob/HEAD/docs/rules/prefer-to-contain.md
|
|
127
121
|
'jest/prefer-to-contain': 'error',
|
|
128
122
|
|