Skip to content

do not touch /// in first lines #1218

Description

@maxandersen

issue is that in many shells you can use triple slashes ///, i.e. ///usr/bin/env jbang "$0" "$@" ; exit $? as a trick to be compatible with both shell scripts and java code.

JDK javadoc linter had this issue too and is now fixed in https://bugs.openjdk.org/browse/JDK-8341907

would be great if google-java-format could honor the same.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions