Skip to content

String continuations are not recommended #2566

Open
@furkan3ayraktar

Description

According to the Google JavaScript Style Guide, string continuations are not recommended.

When using shepherd from ClojureScript (which uses Google's Closure Compiler), we get several warnings during compilation due to the line continuations used in the below file:

https://github.com/shepherd-pro/shepherd/blob/eb1c90ca77a8ed94a9df20d08534311c969042cd/src/js/utils/overlay-path.js#L22-L37

Is there a way to implement the same functionality without using line continuations?

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