-
Should i always create an index.ts(public api) file in the
My project has directory bellow
I'm confused this rule, because I saw this document(https://feature-sliced.design/en/docs/reference/public-api#large-bundles) but Steiger displays the message above. does this rule affect only ui and lib segments? Which is wrong, my project directoy or Steiger lint? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Yes, indeed, that exception only really exists for |
Beta Was this translation helpful? Give feedback.
Yes, indeed, that exception only really exists for
ui
andlib
, not forapi
. Is there a reason why you don't want to have a commonindex.ts
file inshared/api
for all subfolders?