@fullstacksjs/eslint-config 7.0.0-2 → 7.0.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fullstacksjs/eslint-config",
3
- "version": "7.0.0-2",
3
+ "version": "7.0.2",
4
4
  "license": "MIT",
5
5
  "author": "fullstacks <fullstacksjs@gmail.com>",
6
6
  "description": "fullstacks eslint config",
@@ -38,15 +38,15 @@
38
38
  "main": "index.js",
39
39
  "dependencies": {
40
40
  "@frontendmonster/utils": "0.3.11",
41
- "@typescript-eslint/eslint-plugin": "5.4.0",
42
- "@typescript-eslint/parser": "5.4.0",
41
+ "@typescript-eslint/eslint-plugin": "5.6.0",
42
+ "@typescript-eslint/parser": "5.6.0",
43
43
  "eslint-config-prettier": "8.3.0",
44
44
  "eslint-import-resolver-typescript": "2.5.0",
45
45
  "eslint-plugin-cypress": "2.12.1",
46
46
  "eslint-plugin-fp": "2.3.0",
47
47
  "eslint-plugin-import": "2.25.3",
48
48
  "eslint-plugin-jest-formatting": "3.1.0",
49
- "eslint-plugin-jest": "25.2.4",
49
+ "eslint-plugin-jest": "25.3.0",
50
50
  "eslint-plugin-jsx-a11y": "6.5.1",
51
51
  "eslint-plugin-node": "11.1.0",
52
52
  "eslint-plugin-prettier": "4.0.0",
@@ -57,14 +57,14 @@
57
57
  "read-pkg-up": "7.0.1"
58
58
  },
59
59
  "devDependencies": {
60
- "eslint": "8.3.0",
60
+ "eslint": "8.4.1",
61
61
  "eslint-find-rules": "4.0.0",
62
62
  "husky": "7.0.4",
63
- "lint-staged": "12.0.3",
63
+ "lint-staged": "12.1.2",
64
64
  "np": "7.6.0",
65
65
  "npm-run-all": "4.1.5",
66
66
  "pinst": "2.1.6",
67
- "prettier": "2.4.1",
67
+ "prettier": "2.5.1",
68
68
  "typescript": "4.5.2"
69
69
  },
70
70
  "peerDependencies": {
package/rules/jest.js CHANGED
@@ -47,12 +47,11 @@ module.exports = {
47
47
  'jest/require-top-level-describe': 'off',
48
48
  'jest/unbound-method': 'error',
49
49
  'jest/valid-describe-callback': 'error',
50
- 'jest/valid-describe': 'error',
51
50
  'jest/valid-expect-in-promise': 'error',
52
51
  'jest/valid-expect': 'error',
53
52
  'jest/valid-title': 'warn',
54
53
 
55
- // jest-formatiing
54
+ // jest-formatting
56
55
  'jest-formatting/padding-around-after-all-blocks': 'warn',
57
56
  'jest-formatting/padding-around-after-each-blocks': 'warn',
58
57
  'jest-formatting/padding-around-all': 'warn',
@@ -1,6 +1,7 @@
1
1
  module.exports = {
2
2
  rules: {
3
3
  '@typescript-eslint/await-thenable': 'error',
4
+ '@typescript-eslint/consistent-type-exports': 'warn',
4
5
  '@typescript-eslint/dot-notation': [
5
6
  'warn',
6
7
  { allowPrivateClassPropertyAccess: false, allowProtectedClassPropertyAccess: false, allowIndexSignaturePropertyAccess: true },
@@ -58,7 +58,6 @@ module.exports = {
58
58
  '@typescript-eslint/no-require-imports': 'error',
59
59
  '@typescript-eslint/no-restricted-imports': 'off',
60
60
  '@typescript-eslint/consistent-type-imports': ['warn', { prefer: 'type-imports', disallowTypeAnnotations: false }],
61
- '@typescript-eslint/consistent-type-exports': 'warn',
62
61
  '@typescript-eslint/no-shadow': 'error',
63
62
  '@typescript-eslint/no-this-alias': 'error',
64
63
  '@typescript-eslint/no-type-alias': 'off',
@@ -80,7 +79,7 @@ module.exports = {
80
79
  '@typescript-eslint/no-useless-constructor': 'error',
81
80
  '@typescript-eslint/no-var-requires': 'error',
82
81
  '@typescript-eslint/object-curly-spacing': 'warn',
83
- '@typescript-eslint/padding-line-between-statements': ['off', { blankLine: 'always', prev: 'var', next: 'return' }],
82
+ '@typescript-eslint/padding-line-between-statements': ['warn', { blankLine: 'always', prev: ['return', 'export'], next: 'export' }],
84
83
  '@typescript-eslint/prefer-as-const': 'warn',
85
84
  '@typescript-eslint/prefer-enum-initializers': 'off',
86
85
  '@typescript-eslint/prefer-for-of': 'warn',
@@ -148,5 +147,6 @@ module.exports = {
148
147
 
149
148
  // open issues
150
149
  'react/jsx-no-useless-fragment': 'off', // Need useless-fragment for JSX return type
150
+ 'dot-notation': 'off', // Need to have IndexSignaturePropertyAccess Typescript compiler option
151
151
  },
152
152
  };