Closed slalomzacharyd closed 4 months ago
For the string,
type ReferrerPolicy = "no-referrer-when-downgrade" | "no-referrer" | "origin-when-cross-origin" | "origin" | "same-origin" | "strict-origin-when-cross-origin" | "strict-origin" | "unsafe-url";
eslint outputs the error warning| sort/string-unions: String unions should be sorted alphabetically..
warning| sort/string-unions: String unions should be sorted alphabetically.
My configuration is "sort/string-unions": "warn". eslint fix is unable to fix the issue.
"sort/string-unions": "warn"
I'm unable to reproduce this. Can you make a codesandbox or reproduction repo?
Sure
Closing due to lack of response
For the string,
eslint outputs the error
warning| sort/string-unions: String unions should be sorted alphabetically.
.My configuration is
"sort/string-unions": "warn"
. eslint fix is unable to fix the issue.