diff --git a/services/web/.eslintrc.js b/services/web/.eslintrc.js index ffb26f5fd0..8faf58d9da 100644 --- a/services/web/.eslintrc.js +++ b/services/web/.eslintrc.js @@ -310,6 +310,16 @@ module.exports = { ], }, }, + { + // Sorting for Meta + files: ['frontend/js/utils/meta.ts'], + rules: { + '@typescript-eslint/member-ordering': [ + 'error', + { interfaces: { order: 'alphabetically' } }, + ], + }, + }, { // React component specific rules // diff --git a/services/web/frontend/js/utils/meta.ts b/services/web/frontend/js/utils/meta.ts index 188cc876de..b98a26a307 100644 --- a/services/web/frontend/js/utils/meta.ts +++ b/services/web/frontend/js/utils/meta.ts @@ -190,10 +190,10 @@ export interface Meta { 'ol-tags': Tag[] 'ol-teamInvites': TeamInvite[] 'ol-thirdPartyIds': ThirdPartyIds - 'ol-translationLoadErrorMessage': string 'ol-translationIoNotLoaded': string - 'ol-translationUnableToJoin': string + 'ol-translationLoadErrorMessage': string 'ol-translationMaintenance': string + 'ol-translationUnableToJoin': string 'ol-useShareJsHash': boolean 'ol-user': User 'ol-userAffiliations': Affiliation[]