@alexlit/config-eslint 41.0.0 → 41.0.1

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/CHANGELOG.md CHANGED
@@ -1,3 +1,5 @@
1
+ ## [41.0.1](https://github.com/alex-lit/config-eslint/compare/v41.0.0...v41.0.1) (2022-01-13)
2
+
1
3
  # [41.0.0](https://github.com/alex-lit/config-eslint/compare/v40.0.1...v41.0.0) (2022-01-13)
2
4
 
3
5
  ### Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alexlit/config-eslint",
3
- "version": "41.0.0",
3
+ "version": "41.0.1",
4
4
  "private": false,
5
5
  "description": "eslint config",
6
6
  "keywords": [
package/plugins/etc.js CHANGED
@@ -7,9 +7,10 @@ module.exports = {
7
7
  plugins: ['etc'],
8
8
 
9
9
  rules: {
10
+ 'etc/no-implicit-any-catch': 'off',
10
11
  'etc/no-misused-generics': 'error',
11
12
  'etc/no-t': 'error',
12
- 'etc/prefer-less-than': 'error',
13
+ 'etc/prefer-less-than': 'off',
13
14
  'etc/underscore-internal': 'error',
14
15
  },
15
16
  };
@@ -41,12 +41,35 @@ module.exports = {
41
41
  },
42
42
  ],
43
43
 
44
+ models: [
45
+ {
46
+ groupByDecorator: 'Model',
47
+ sort: 'alphabetical',
48
+ type: 'property',
49
+ },
50
+ {
51
+ groupByDecorator: 'ModelSync',
52
+ sort: 'alphabetical',
53
+ type: 'property',
54
+ },
55
+ {
56
+ groupByDecorator: 'VModel',
57
+ sort: 'alphabetical',
58
+ type: 'property',
59
+ },
60
+ ],
61
+
44
62
  props: [
45
63
  {
46
64
  groupByDecorator: 'Prop',
47
65
  sort: 'alphabetical',
48
66
  type: 'property',
49
67
  },
68
+ {
69
+ groupByDecorator: 'PropSync',
70
+ sort: 'alphabetical',
71
+ type: 'property',
72
+ },
50
73
  ],
51
74
 
52
75
  provides: [
@@ -62,6 +85,14 @@ module.exports = {
62
85
  },
63
86
  ],
64
87
 
88
+ refs: [
89
+ {
90
+ groupByDecorator: 'Ref',
91
+ sort: 'alphabetical',
92
+ type: 'property',
93
+ },
94
+ ],
95
+
65
96
  'sorted-methods': [
66
97
  {
67
98
  sort: 'alphabetical',
@@ -197,6 +228,11 @@ module.exports = {
197
228
  sort: 'alphabetical',
198
229
  type: 'property',
199
230
  },
231
+ {
232
+ groupByDecorator: '(namespace',
233
+ sort: 'alphabetical',
234
+ type: 'property',
235
+ },
200
236
  ],
201
237
 
202
238
  watches: [
@@ -215,12 +251,16 @@ module.exports = {
215
251
  '[static-methods]',
216
252
  '[static-async-methods]',
217
253
 
218
- // properties
254
+ // decorated properties
219
255
  '[vuex]',
220
256
  '[injects]',
221
- '[provides]',
222
257
  '[props]',
258
+ '[models]',
259
+ '[provides]',
223
260
  '[emits]',
261
+ '[refs]',
262
+
263
+ // properties
224
264
  '[sorted-properties]',
225
265
  '[arrow-function-properties]',
226
266
 
@@ -202,6 +202,7 @@ module.exports = {
202
202
  'is',
203
203
  'may',
204
204
  'must',
205
+ 'need',
205
206
  'should',
206
207
  'will',
207
208
  ],