mirror of
https://github.com/Unleash/unleash.git
synced 2024-11-01 19:07:38 +01:00
1799086deb
This change sorts the tags in the tags file and tests that the list is sorted alphabetically. This makes it easier to find tags in the file. #4580 already introduced a test to check that we have no duplicate tags, so this isn't as necessary anymore, but it's still nice to have. It also removes the previous auto-sorting before exporting. This is to ensure that entries are sorted in the source list. This might seem like a regression, but it makes it easier to spot near-duplicate tags: > Despite having the test that validates there are no duplicates, you can always have Notifications and Notification API by mistake (tags that mean the same but are different). Keeping the list alphabetically sorted might help to prevent this before pushing the change to prod. In this case, we will eventually find out and fix it, so this could be a good reason to have the list sorted. |
||
---|---|---|
.. | ||
spec | ||
util | ||
index.test.ts | ||
index.ts | ||
meta-schema-rules.test.ts | ||
validate.test.ts | ||
validate.ts |