You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to build a dockerfile formatter. The current dockerfile parser discards comment nodes from the AST instead of adding them, making a round-trip from AST back to source very tricky. I am hoping to improve the parser so this can be captured.
Would this project accept a PR tracking this additional metadata? This would mean the addition of a comment node, and tests to go with it.
The text was updated successfully, but these errors were encountered:
This is used for capturing descriptions for FROM and ARG command and should be used in the future to ignore specific checks for individual commands docker/buildx#3059
I think changes in AST are not generally a big issue but these features need to remain functional (and possible in the future).
(area/dockerfile, enhancement)
I am trying to build a dockerfile formatter. The current dockerfile parser discards comment nodes from the AST instead of adding them, making a round-trip from AST back to source very tricky. I am hoping to improve the parser so this can be captured.
Would this project accept a PR tracking this additional metadata? This would mean the addition of a comment node, and tests to go with it.
The text was updated successfully, but these errors were encountered: