@fullstacksjs/eslint-config 9.2.1 → 9.3.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/cypress.js +1 -0
- package/package.json +15 -15
- package/typecheck.js +2 -0
package/cypress.js
CHANGED
|
@@ -20,6 +20,7 @@ module.exports = {
|
|
|
20
20
|
'cypress/no-pause': 'error',
|
|
21
21
|
'cypress/no-unnecessary-waiting': 'error',
|
|
22
22
|
'cypress/require-data-selectors': 'off',
|
|
23
|
+
'cypress/unsafe-to-chain-command': 'error',
|
|
23
24
|
|
|
24
25
|
...(global.fullstacksjs?.typescript && {
|
|
25
26
|
'@typescript-eslint/no-namespace': 0,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fullstacksjs/eslint-config",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.3.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "fullstacks <fullstacksjs@gmail.com>",
|
|
6
6
|
"description": "fullstacks eslint config",
|
|
@@ -47,13 +47,13 @@
|
|
|
47
47
|
"main": "index.js",
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@fullstacksjs/toolbox": "3.0.2",
|
|
50
|
-
"@graphql-eslint/eslint-plugin": "3.
|
|
51
|
-
"@typescript-eslint/eslint-plugin": "5.
|
|
52
|
-
"@typescript-eslint/parser": "5.
|
|
50
|
+
"@graphql-eslint/eslint-plugin": "3.18.0",
|
|
51
|
+
"@typescript-eslint/eslint-plugin": "5.59.2",
|
|
52
|
+
"@typescript-eslint/parser": "5.59.2",
|
|
53
53
|
"deepmerge": "4.3.1",
|
|
54
54
|
"eslint-config-prettier": "8.8.0",
|
|
55
|
-
"eslint-import-resolver-typescript": "3.5.
|
|
56
|
-
"eslint-plugin-cypress": "2.
|
|
55
|
+
"eslint-import-resolver-typescript": "3.5.5",
|
|
56
|
+
"eslint-plugin-cypress": "2.13.3",
|
|
57
57
|
"eslint-plugin-fp": "2.3.0",
|
|
58
58
|
"eslint-plugin-import": "2.27.5",
|
|
59
59
|
"eslint-plugin-jest": "27.2.1",
|
|
@@ -65,24 +65,24 @@
|
|
|
65
65
|
"eslint-plugin-react": "7.32.2",
|
|
66
66
|
"eslint-plugin-react-hooks": "4.6.0",
|
|
67
67
|
"eslint-plugin-simple-import-sort": "10.0.0",
|
|
68
|
-
"eslint-plugin-storybook": "0.6.
|
|
68
|
+
"eslint-plugin-storybook": "0.6.12",
|
|
69
69
|
"read-pkg-up": "7.0.1"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
72
|
"@semantic-release/github": "8.0.7",
|
|
73
|
-
"@semantic-release/npm": "10.0.
|
|
74
|
-
"@semantic-release/release-notes-generator": "
|
|
73
|
+
"@semantic-release/npm": "10.0.3",
|
|
74
|
+
"@semantic-release/release-notes-generator": "11.0.1",
|
|
75
75
|
"cspell": "6.31.1",
|
|
76
|
-
"eslint": "8.
|
|
76
|
+
"eslint": "8.39.0",
|
|
77
77
|
"eslint-find-rules": "4.1.0",
|
|
78
78
|
"husky": "8.0.3",
|
|
79
|
-
"lint-staged": "13.2.
|
|
80
|
-
"np": "7.
|
|
79
|
+
"lint-staged": "13.2.2",
|
|
80
|
+
"np": "7.7.0",
|
|
81
81
|
"npm-run-all": "4.1.5",
|
|
82
82
|
"pinst": "3.0.0",
|
|
83
|
-
"prettier": "2.8.
|
|
84
|
-
"semantic-release": "21.0.
|
|
85
|
-
"typescript": "5.0.
|
|
83
|
+
"prettier": "2.8.8",
|
|
84
|
+
"semantic-release": "21.0.2",
|
|
85
|
+
"typescript": "5.0.4"
|
|
86
86
|
},
|
|
87
87
|
"peerDependencies": {
|
|
88
88
|
"cypress": ">=8",
|
package/typecheck.js
CHANGED
|
@@ -15,6 +15,8 @@ module.exports = {
|
|
|
15
15
|
},
|
|
16
16
|
],
|
|
17
17
|
'@typescript-eslint/no-confusing-void-expression': ['off', { ignoreArrowShorthand: true, ignoreVoidOperator: true }], // Annoying and conflict with @typescript-eslint/no-meaningless-void-operator
|
|
18
|
+
'@typescript-eslint/no-duplicate-type-constituents': 'warn',
|
|
19
|
+
'@typescript-eslint/no-unsafe-enum-comparison': 'warn',
|
|
18
20
|
'@typescript-eslint/no-floating-promises': ['error', { ignoreVoid: true }],
|
|
19
21
|
'@typescript-eslint/no-for-in-array': 'error',
|
|
20
22
|
'@typescript-eslint/no-implied-eval': 'error',
|