@lincy/eslint-config 6.3.0 → 6.4.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/dist/index.cjs CHANGED
@@ -1005,28 +1005,27 @@ async function perfectionist(options = {}) {
1005
1005
  }],
1006
1006
  "perfectionist/sort-imports": ["error", {
1007
1007
  groups: [
1008
- "type",
1009
- "builtin-type",
1008
+ "type-import",
1010
1009
  [
1011
- "index-type",
1012
- "parent-type",
1013
- "sibling-type",
1014
- "internal-type"
1010
+ "type-parent",
1011
+ "type-sibling",
1012
+ "type-index",
1013
+ "type-internal"
1015
1014
  ],
1016
- "builtin",
1017
- "external",
1018
- "internal",
1015
+ "value-builtin",
1016
+ "value-external",
1017
+ "value-internal",
1019
1018
  [
1020
- "index",
1021
- "parent",
1022
- "sibling"
1019
+ "value-parent",
1020
+ "value-sibling",
1021
+ "value-index"
1023
1022
  ],
1024
1023
  "side-effect",
1025
- "object",
1024
+ "ts-equals-import",
1026
1025
  "unknown"
1027
1026
  ],
1028
- internalPattern: ["^~/.*", "^@/.*"],
1029
1027
  newlinesBetween: "ignore",
1028
+ newlinesInside: "ignore",
1030
1029
  order: "asc",
1031
1030
  type: "natural"
1032
1031
  }],
@@ -1275,6 +1274,7 @@ async function react(options = {}) {
1275
1274
  "react/no-unsafe-component-will-update": "warn",
1276
1275
  "react/no-use-context": "warn",
1277
1276
  "react/no-useless-forward-ref": "warn",
1277
+ "react/prefer-namespace-import": "error",
1278
1278
  "react/prefer-use-state-lazy-initialization": "warn",
1279
1279
  ...reactCompiler ? {
1280
1280
  "react-hooks/component-hook-factories": "error",