Skip to content

Commit

Permalink
feat(nx-docs): support for anyOf in schema.json files
Browse files Browse the repository at this point in the history
  • Loading branch information
AgentEnder committed May 23, 2021
1 parent 290a326 commit 7ab15c6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
6 changes: 5 additions & 1 deletion docs/core/executors/format.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@ Run code style analyzers and apply fixes.

Run 3rd party analyzers and apply fixes.

### diagnostics ()
### diagnostics

- (string) A space separated list of diagnostic ids to use as a filter when fixing code style or 3rd party analyzers.

- (array) A list of diagnostic ids to use as a filter when fixing code style or 3rd party analyzers.

### include (array)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@

## Options <% Object.entries(schema.properties).forEach(([property, config]) => {%>

### <%= property%> (<%=config.type%>)
### <%= property%> <% if (!config.anyOf) { %>(<%=config.type%>)

<%= config.description %>
<% })} %>
<%= config.description %> <%} else { config.anyOf.forEach(x => {%>

- (<%= x.type %>): <%=x.description%>
<% })}})} %>

0 comments on commit 7ab15c6

Please sign in to comment.