@kasoa/eslint-config 0.0.13 → 0.0.14

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.
@@ -1 +1 @@
1
- {"version":3,"file":"perfectionist.d.ts","sourceRoot":"","sources":["../../src/base/perfectionist.ts"],"names":[],"mappings":"AA+CA,eAAO,MAAM,mBAAmB,kCAqE9B,CAAC;AAEH,eAAO,MAAM,sBAAsB,kCAcjC,CAAC"}
1
+ {"version":3,"file":"perfectionist.d.ts","sourceRoot":"","sources":["../../src/base/perfectionist.ts"],"names":[],"mappings":"AA2DA,eAAO,MAAM,mBAAmB,kCAqE9B,CAAC;AAEH,eAAO,MAAM,sBAAsB,kCAcjC,CAAC"}
@@ -37,6 +37,17 @@ const unifiedGroups = [
37
37
  "style",
38
38
  "className",
39
39
  ];
40
+ const jsxGroups = [
41
+ "id",
42
+ "unknown",
43
+ "multiline-prop",
44
+ "timestamp",
45
+ "ref",
46
+ "shorthand-prop",
47
+ "callback",
48
+ "style",
49
+ "className",
50
+ ];
40
51
  const baseConfig = {
41
52
  order: "asc",
42
53
  type: "natural",
@@ -121,7 +132,7 @@ export const perfectionistJsxConfig = defineConfig({
121
132
  {
122
133
  ...baseConfig,
123
134
  customGroups: unifiedCustomGroups,
124
- groups: unifiedGroups,
135
+ groups: jsxGroups,
125
136
  },
126
137
  ],
127
138
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kasoa/eslint-config",
3
- "version": "0.0.13",
3
+ "version": "0.0.14",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "Kasoa's ESLint config",
@@ -40,6 +40,18 @@ const unifiedGroups = [
40
40
  "className",
41
41
  ];
42
42
 
43
+ const jsxGroups = [
44
+ "id",
45
+ "unknown",
46
+ "multiline-prop",
47
+ "timestamp",
48
+ "ref",
49
+ "shorthand-prop",
50
+ "callback",
51
+ "style",
52
+ "className",
53
+ ];
54
+
43
55
  const baseConfig = {
44
56
  order: "asc" as const,
45
57
  type: "natural" as const,
@@ -126,7 +138,7 @@ export const perfectionistJsxConfig = defineConfig({
126
138
  {
127
139
  ...baseConfig,
128
140
  customGroups: unifiedCustomGroups,
129
- groups: unifiedGroups,
141
+ groups: jsxGroups,
130
142
  },
131
143
  ],
132
144
  },