[Feature Request] enforceExistence, name based on folder name #49
Unanswered
xXNickznXx
asked this question in
Ideas
Replies: 2 comments 2 replies
-
Hi @xXNickznXx , This example is not supported, at most, you can state it like this: if {
name: "{kebab-case}",
enforceExistence: ["./{node-name}.routes.ts", "./routes"],
children: [
{ name: "{folder-name}.routes.ts" },
{
name: "routes",
children: [],
},
],
}, |
Beta Was this translation helpful? Give feedback.
1 reply
-
@xXNickznXx If you want to submit a PR that supports I can add this feature as part of a larger update, but it won't be my priority. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
As an example, I would like to enforce the following structure:
As far as Im aware this is currently not possible with the
enforceExistence
property.Maybe this could be done like so:
Beta Was this translation helpful? Give feedback.
All reactions