You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We work in a team where people have systems with different locales. When we add react/jsx-sort-props to our eslint config, it behaves differently for each system.
For example, on a en-US system, props for the component below are sorted like this:
Note that in node < 13, the sk-SK locale doesn't exist, so we should probably add some test cases for a locale that sorts differently than en-US, that's present in older versions of node.
We work in a team where people have systems with different locales. When we add
react/jsx-sort-props
to oureslint
config, it behaves differently for each system.For example, on a
en-US
system, props for the component below are sorted like this:But on a
sk-SK
system, they're sorted like this:This results in
eslint
tests passing locally, but failing during CI/CD pipelines. Ability to specify which locale to use for sorting would be nice.The text was updated successfully, but these errors were encountered: