-
Notifications
You must be signed in to change notification settings - Fork 352
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Improve fig spec with better generators #3762
base: main
Are you sure you want to change the base?
Conversation
There's still one nasty eslint complaint about descriptions that I can't get to popup on this repo, still struggling with figuring out how eslint imports rules from other modules..once I figure it out I'll leave a comment here. |
@@ -264,7 +264,7 @@ function cliReference(commands: { [key: string]: Command }) { | |||
x.collapsed = true; | |||
x.items = Object.keys(command.subcommands) | |||
.filter( | |||
(subcommand) => command.subcommands![subcommand].hide !== true, | |||
(subcommand) => command.subcommands![subcommand].hide !== true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd prefer if we didn't need to enable es5 style everywhere
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fair point, will investigate if I can use package.json
hierarchy to handle this
Also prevents some issues that might trigger the autocomplete's linter.
This, together with the changes on usage-cli
1.7.3
version, should get the automated PR to pass the linter checks on the autocomplete repo