@egy186/eslint-config 0.76.1 → 0.79.0
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/jest.js +3 -1
- package/package.json +10 -10
package/jest.js
CHANGED
|
@@ -6,6 +6,7 @@ module.exports = {
|
|
|
6
6
|
rules: {
|
|
7
7
|
'jest/consistent-test-it': 'error',
|
|
8
8
|
'jest/expect-expect': 'error',
|
|
9
|
+
'jest/max-expects': 'error',
|
|
9
10
|
'jest/max-nested-describe': 'error',
|
|
10
11
|
'jest/no-alias-methods': 'error',
|
|
11
12
|
'jest/no-commented-out-tests': 'error',
|
|
@@ -21,7 +22,6 @@ module.exports = {
|
|
|
21
22
|
'jest/no-identical-title': 'error',
|
|
22
23
|
'jest/no-interpolation-in-snapshots': 'error',
|
|
23
24
|
'jest/no-jasmine-globals': 'error',
|
|
24
|
-
'jest/no-jest-import': 'error',
|
|
25
25
|
'jest/no-large-snapshots': 'warn',
|
|
26
26
|
'jest/no-mocks-import': 'error',
|
|
27
27
|
'jest/no-restricted-matchers': 'off',
|
|
@@ -30,12 +30,14 @@ module.exports = {
|
|
|
30
30
|
'jest/no-test-return-statement': 'error',
|
|
31
31
|
'jest/prefer-called-with': 'error',
|
|
32
32
|
'jest/prefer-comparison-matcher': 'error',
|
|
33
|
+
'jest/prefer-each': 'error',
|
|
33
34
|
'jest/prefer-equality-matcher': 'error',
|
|
34
35
|
'jest/prefer-expect-assertions': ['warn', { onlyFunctionsWithAsyncKeyword: true }],
|
|
35
36
|
'jest/prefer-expect-resolves': 'error',
|
|
36
37
|
'jest/prefer-hooks-in-order': 'error',
|
|
37
38
|
'jest/prefer-hooks-on-top': 'error',
|
|
38
39
|
'jest/prefer-lowercase-title': 'error',
|
|
40
|
+
'jest/prefer-mock-promise-shorthand': 'error',
|
|
39
41
|
'jest/prefer-snapshot-hint': 'error',
|
|
40
42
|
'jest/prefer-spy-on': 'error',
|
|
41
43
|
'jest/prefer-strict-equal': 'error',
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@egy186/eslint-config",
|
|
3
3
|
"description": "Eslint shareable config",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.79.0",
|
|
5
5
|
"author": "egy186",
|
|
6
6
|
"bugs": {
|
|
7
7
|
"url": "https://github.com/egy186/eslint-config/issues"
|
|
@@ -10,18 +10,18 @@
|
|
|
10
10
|
"lodash": "^4.17.21"
|
|
11
11
|
},
|
|
12
12
|
"devDependencies": {
|
|
13
|
-
"@typescript-eslint/eslint-plugin": "~5.
|
|
14
|
-
"@typescript-eslint/parser": "~5.
|
|
15
|
-
"eslint": "~8.
|
|
13
|
+
"@typescript-eslint/eslint-plugin": "~5.36.1",
|
|
14
|
+
"@typescript-eslint/parser": "~5.36.1",
|
|
15
|
+
"eslint": "~8.23.0",
|
|
16
16
|
"eslint-plugin-import": "~2.26.0",
|
|
17
|
-
"eslint-plugin-jest": "
|
|
18
|
-
"eslint-plugin-jsdoc": "~39.3.
|
|
17
|
+
"eslint-plugin-jest": "~27.0.1",
|
|
18
|
+
"eslint-plugin-jsdoc": "~39.3.6",
|
|
19
19
|
"eslint-plugin-node": "~11.1.0",
|
|
20
|
-
"eslint-plugin-react": "~7.
|
|
21
|
-
"eslint-plugin-react-hooks": "~4.
|
|
20
|
+
"eslint-plugin-react": "~7.31.1",
|
|
21
|
+
"eslint-plugin-react-hooks": "~4.6.0",
|
|
22
22
|
"husky": "^8.0.1",
|
|
23
23
|
"require-dir": "^1.2.0",
|
|
24
|
-
"typescript": "^4.
|
|
24
|
+
"typescript": "^4.8.2"
|
|
25
25
|
},
|
|
26
26
|
"engines": {
|
|
27
27
|
"node": ">=14.19.1"
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"@typescript-eslint/parser": "^5.22.0",
|
|
50
50
|
"eslint": "^8.14.0",
|
|
51
51
|
"eslint-plugin-import": "^2.25.3",
|
|
52
|
-
"eslint-plugin-jest": "^
|
|
52
|
+
"eslint-plugin-jest": "^27.0.1",
|
|
53
53
|
"eslint-plugin-jsdoc": "^39.2.1",
|
|
54
54
|
"eslint-plugin-node": "^11.1.0",
|
|
55
55
|
"eslint-plugin-react": "^7.30.0",
|