@lincy/eslint-config 5.2.1 → 5.2.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/dist/index.cjs CHANGED
@@ -1130,16 +1130,18 @@ async function perfectionist(options = {}) {
1130
1130
  "perfectionist/sort-imports": ["error", {
1131
1131
  groups: [
1132
1132
  "type",
1133
- ["parent-type", "sibling-type", "index-type", "internal-type"],
1133
+ "builtin-type",
1134
+ ["index-type", "parent-type", "sibling-type", "internal-type"],
1134
1135
  "builtin",
1135
1136
  "external",
1136
- ["internal"],
1137
- ["parent", "sibling", "index"],
1137
+ "internal",
1138
+ ["index", "parent", "sibling"],
1138
1139
  "side-effect",
1139
1140
  "object",
1140
1141
  "unknown"
1141
1142
  ],
1142
- // newlinesBetween: 'ignore',
1143
+ internalPattern: ["~/**", "@/**"],
1144
+ newlinesBetween: "ignore",
1143
1145
  order: "asc",
1144
1146
  type: "natural"
1145
1147
  }],
package/dist/index.js CHANGED
@@ -1025,16 +1025,18 @@ async function perfectionist(options = {}) {
1025
1025
  "perfectionist/sort-imports": ["error", {
1026
1026
  groups: [
1027
1027
  "type",
1028
- ["parent-type", "sibling-type", "index-type", "internal-type"],
1028
+ "builtin-type",
1029
+ ["index-type", "parent-type", "sibling-type", "internal-type"],
1029
1030
  "builtin",
1030
1031
  "external",
1031
- ["internal"],
1032
- ["parent", "sibling", "index"],
1032
+ "internal",
1033
+ ["index", "parent", "sibling"],
1033
1034
  "side-effect",
1034
1035
  "object",
1035
1036
  "unknown"
1036
1037
  ],
1037
- // newlinesBetween: 'ignore',
1038
+ internalPattern: ["~/**", "@/**"],
1039
+ newlinesBetween: "ignore",
1038
1040
  order: "asc",
1039
1041
  type: "natural"
1040
1042
  }],
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lincy/eslint-config",
3
3
  "type": "module",
4
- "version": "5.2.1",
4
+ "version": "5.2.2",
5
5
  "packageManager": "pnpm@9.1.0",
6
6
  "description": "LinCenYing's ESLint config",
7
7
  "author": "LinCenYing <lincenying@gmail.com> (https://github.com/lincenying/)",