@fullstacksjs/eslint-config 9.2.0 → 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 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/import.js CHANGED
@@ -11,7 +11,7 @@ module.exports = {
11
11
  'import/ignore': ['node_modules', '\\.(coffee|scss|css|less|hbs|svg|json)$'],
12
12
  },
13
13
  rules: {
14
- 'import/consistent-type-specifier-style': ['warn', 'prefer-inline'],
14
+ 'import/consistent-type-specifier-style': ['warn', 'prefer-top-level'],
15
15
  'import/default': 'error',
16
16
  'import/dynamic-import-chunkname': 'off',
17
17
  'import/export': 'error',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fullstacksjs/eslint-config",
3
- "version": "9.2.0",
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.16.2",
51
- "@typescript-eslint/eslint-plugin": "5.56.0",
52
- "@typescript-eslint/parser": "5.56.0",
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.3",
56
- "eslint-plugin-cypress": "2.12.1",
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.11",
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.2",
74
- "@semantic-release/release-notes-generator": "10.0.3",
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.36.0",
76
+ "eslint": "8.39.0",
77
77
  "eslint-find-rules": "4.1.0",
78
78
  "husky": "8.0.3",
79
- "lint-staged": "13.2.0",
80
- "np": "7.6.4",
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.7",
84
- "semantic-release": "21.0.0",
85
- "typescript": "5.0.2"
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',
package/typescript.js CHANGED
@@ -39,7 +39,7 @@ module.exports = {
39
39
  '@typescript-eslint/consistent-type-definitions': ['error', 'interface'],
40
40
  '@typescript-eslint/consistent-type-imports': [
41
41
  'warn',
42
- { prefer: 'type-imports', disallowTypeAnnotations: false, fixStyle: 'inline-type-imports' },
42
+ { prefer: 'type-imports', disallowTypeAnnotations: false, fixStyle: 'separate-type-imports' },
43
43
  ],
44
44
  '@typescript-eslint/default-param-last': 'warn',
45
45
  '@typescript-eslint/explicit-function-return-type': 'off',