Skip to content

Commit

Permalink
Add info about the exception to the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
daniilsapa committed Jul 16, 2024
1 parent 7b91ac9 commit f9c54ae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/steiger-plugin-fsd/src/no-layer-public-api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ According to the _public API rule on slices_:
A corollary to this rule is that the layer itself should not have an index file.

**Exception:** index files are allowed on `app` layer because it's the entry point of the application.

Examples of project structures that pass this rule:

```
Expand Down

0 comments on commit f9c54ae

Please sign in to comment.