Skip to content
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

Immutable String Representation (Feature) #32

Open
BebeSparkelSparkel opened this issue Jan 24, 2025 · 0 comments
Open

Immutable String Representation (Feature) #32

BebeSparkelSparkel opened this issue Jan 24, 2025 · 0 comments

Comments

@BebeSparkelSparkel
Copy link

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}|[ -~])+$", 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant