eslint-config-greenpie 5.26.0 → 5.28.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-greenpie",
3
- "version": "5.26.0",
3
+ "version": "5.28.0",
4
4
  "description": "GreenPie's ESLint config file",
5
5
  "main": "index.js",
6
6
  "author": "Roman Nuritdinov (Ky6uk)",
@@ -33,9 +33,9 @@
33
33
  "vue"
34
34
  ],
35
35
  "peerDependencies": {
36
- "@typescript-eslint/eslint-plugin": "^5.52.0",
37
- "@typescript-eslint/parser": "^5.52.0",
38
- "eslint": "^8.34.0",
36
+ "@typescript-eslint/eslint-plugin": "^5.54.1",
37
+ "@typescript-eslint/parser": "^5.54.1",
38
+ "eslint": "^8.35.0",
39
39
  "eslint-plugin-jest": "^27.2.1",
40
40
  "eslint-plugin-vue": "^9.9.0"
41
41
  },
@@ -16,13 +16,7 @@ module.exports = {
16
16
  rules: {
17
17
  // TODO: regroup rules by new categories
18
18
 
19
- // Formatting Rules
20
-
21
- 'block-spacing': 'off',
22
- '@typescript-eslint/block-spacing': 'error',
23
-
24
- // TypeScript specific Rules
25
-
19
+ // TypeScript Rules
26
20
  '@typescript-eslint/adjacent-overload-signatures': 'error',
27
21
  '@typescript-eslint/array-type': 'error',
28
22
  '@typescript-eslint/await-thenable': 'error',
@@ -46,7 +40,6 @@ module.exports = {
46
40
  }],
47
41
 
48
42
  '@typescript-eslint/explicit-module-boundary-types': 'error',
49
- '@typescript-eslint/member-delimiter-style': 'error',
50
43
 
51
44
  '@typescript-eslint/member-ordering': ['error', {
52
45
  default: [
@@ -80,9 +73,21 @@ module.exports = {
80
73
  modifiers: ['requiresQuotes']
81
74
  }, {
82
75
  selector: 'enumMember',
83
- format: ['UPPER_CASE']
76
+ format: ['StrictPascalCase']
84
77
  }],
85
78
 
79
+ '@typescript-eslint/no-mixed-enums': 'error',
80
+
81
+ // Formatting Rules
82
+
83
+ 'block-spacing': 'off',
84
+ '@typescript-eslint/block-spacing': 'error',
85
+ '@typescript-eslint/member-delimiter-style': 'error',
86
+
87
+ // TODO: Not grouped yet below
88
+
89
+ // TypeScript specific Rules
90
+
86
91
  '@typescript-eslint/no-base-to-string': 'error',
87
92
  '@typescript-eslint/no-confusing-non-null-assertion': 'error',
88
93
  '@typescript-eslint/no-confusing-void-expression': 'error',