@schoero/configs 1.5.33 → 1.5.35

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/eslint/jsx.js CHANGED
@@ -50,12 +50,23 @@ export const jsx = [
50
50
  ignoreCase: true,
51
51
  groups: [
52
52
  "shorthand-prop",
53
+ "data",
54
+ "unknown",
53
55
  "multiline-prop",
54
- "callback"
56
+ "callback",
57
+ "aria"
55
58
  ],
56
59
  customGroups: [{
57
60
  groupName: "callback",
58
61
  elementNamePattern: "^on.+"
62
+ },
63
+ {
64
+ groupName: "aria",
65
+ elementNamePattern: "^aria-.+"
66
+ },
67
+ {
68
+ groupName: "data",
69
+ elementNamePattern: "^data-.+"
59
70
  }]
60
71
  }]
61
72
  }
@@ -68,14 +68,14 @@ export const typescript = [
68
68
  ignoreCase: true,
69
69
  partitionByNewLine: true,
70
70
  groups: [
71
- "optional-index-signature",
72
- "optional-property",
73
- "optional-member",
74
- "optional-method",
75
71
  "required-index-signature",
76
72
  "required-property",
77
73
  "required-member",
78
- "required-method"
74
+ "required-method",
75
+ "optional-index-signature",
76
+ "optional-property",
77
+ "optional-member",
78
+ "optional-method"
79
79
  ]
80
80
  }
81
81
  ],
@@ -87,14 +87,14 @@ export const typescript = [
87
87
  ignoreCase: true,
88
88
  partitionByNewLine: false,
89
89
  groups: [
90
- "optional-index-signature",
91
- "optional-property",
92
- "optional-member",
93
- "optional-method",
94
90
  "required-index-signature",
95
91
  "required-property",
96
92
  "required-member",
97
- "required-method"
93
+ "required-method",
94
+ "optional-index-signature",
95
+ "optional-property",
96
+ "optional-member",
97
+ "optional-method"
98
98
  ]
99
99
  }
100
100
  ],
@@ -91,14 +91,14 @@ export const perfectionist = defineConfig({
91
91
  "warn",
92
92
  {
93
93
  groups: [
94
- "optional-index-signature",
95
- "optional-property",
96
- "optional-member",
97
- "optional-method",
98
94
  "required-index-signature",
99
95
  "required-property",
100
96
  "required-member",
101
- "required-method"
97
+ "required-method",
98
+ "optional-index-signature",
99
+ "optional-property",
100
+ "optional-member",
101
+ "optional-method"
102
102
  ],
103
103
  ignoreCase: true,
104
104
  order: "asc",
@@ -130,14 +130,14 @@ export const perfectionist = defineConfig({
130
130
  "warn",
131
131
  {
132
132
  groups: [
133
- "optional-index-signature",
134
- "optional-property",
135
- "optional-member",
136
- "optional-method",
137
133
  "required-index-signature",
138
134
  "required-property",
139
135
  "required-member",
140
- "required-method"
136
+ "required-method",
137
+ "optional-index-signature",
138
+ "optional-property",
139
+ "optional-member",
140
+ "optional-method"
141
141
  ],
142
142
  ignoreCase: true,
143
143
  order: "asc",
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.5.33",
2
+ "version": "1.5.35",
3
3
  "type": "module",
4
4
  "name": "@schoero/configs",
5
5
  "description": "",