ui: enforce alphabetical enum member ordering (#27272)

This commit is contained in:
Aleksander Grygier
2026-08-17 23:52:00 +02:00
committed by GitHub
parent 0021a77de0
commit 01818e4956
17 changed files with 246 additions and 243 deletions
+3
View File
@@ -61,6 +61,9 @@ export default ts.config(
{ blankLine: 'always', next: ['return', 'throw', 'break', 'continue'], prev: '*' }
],
// Alphabetical order for enum members
'perfectionist/sort-enums': ['error', { type: 'natural' }],
'perfectionist/sort-objects': ['error', { type: 'natural' }],
// Alphabetical order for variable declarations and object keys