Skip to content

Immutable String Representation (Feature) #32

Description

@BebeSparkelSparkel

I have some strings that I have carefully constructed and do not want modifications made to them when linted.

Could an option be added to specify that string content representation should not be changed?

Example of the string representation change that I would like to avoid. The Unicode escapes are translated to their corresponding characters.

-          "pattern": "^(?:\\\\x[0-9A-F]{2}|[\u0020-\u007E])+$",               
+          "pattern": "^(?:\\\\x[0-9A-F]{2}|[ -~])+$", 

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions