Skip to content

Commit 584d63e

Browse files
committed
chore(docs): add new rules to README.md for FSD plugin; rename enforce-slice-relative-path to slice-relative-path and add no-orphaned-files
1 parent 0ac2283 commit 584d63e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,12 @@ As the plugin evolves, we plan to implement the following rules:
7474
- public-api: Enforce consistent public API on slices.
7575
- no-ui-in-app: Forbid using UI segment in the app layer.
7676
- no-direct-imports: Forbid direct imports from outside the slice.
77-
- enforce-slice-relative-path: Imports within one slice should be relative.
77+
- slice-relative-path: Imports within one slice should be relative.
7878
- slice-naming: Enforce consistent naming conventions for slices.
7979
- composables-naming: Enforce consistent naming conventions for composables.
8080
- components-naming: Enforce consistent naming conventions for components.
8181
- sfc-sections-order: Enforce consistent order of top-level sections in single-file components.
82+
- no-orphaned-files: Forbid orphaned files that are not part of any slice.
8283

8384
We are always open to suggestions and contributions for new rules and improvements.
8485

0 commit comments

Comments
 (0)