mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-16 19:11:05 +00:00
Merge pull request #19522 from overleaf/jpa-sort-get-meta
[web] sort getMeta type definitions and enforce sorting via eslint GitOrigin-RevId: 5b50c4f77facb3f92072597933bdc1c1bf0ecd78
This commit is contained in:
parent
6cb956b1ff
commit
a099f82c34
2 changed files with 12 additions and 2 deletions
|
@ -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
|
||||
//
|
||||
|
|
|
@ -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[]
|
||||
|
|
Loading…
Reference in a new issue