chore: 🤖 Add eol-last rule (#1296)

* chore: 🤖 Add eol-last rule

* style: 💄 Add newlines for core

* style: 💄 Add newlines to EOF in rose

* style: 💄 Add newlines for admin

* style: 💄 Add newlines in desktop templates
This commit is contained in:
Zhihe Li authored and GitHub committed 2022-09-01 17:43:30 -04:00
1 parent a69d01c9fc
commit ccf462019b
332 files changed
+362 -328

No files matched your search

+1
View File
@@ -19,5 +19,6 @@ module.exports = {
],
},
quotes: 'single',
'eol-last': 'editorconfig',
},
};
@@ -12,4 +12,4 @@
{{t 'resources.account.actions.delete'}}
</dropdown.button>
</Rose::Dropdown>
{{/if}}
{{/if}}
@@ -9,4 +9,4 @@
@acknowledgeText={{t 'states.copied'}}
>
<code>{{@model.id}}</code>
</Copyable>
</Copyable>
@@ -13,4 +13,4 @@
</nav.link>
{{/if}}
{{/if}}
</Rose::Nav::Tabs>
</Rose::Nav::Tabs>
@@ -86,4 +86,4 @@
{{t 'resources.auth-method.actions.delete'}}
</dropdown.button>
{{/if}}
</Rose::Dropdown>
</Rose::Dropdown>
@@ -16,4 +16,4 @@
@acknowledgeText={{t 'states.copied'}}
>
<code>{{@model.id}}</code>
</Copyable>
</Copyable>
@@ -12,4 +12,4 @@
{{t 'resources.managed-group.actions.delete'}}
</dropdown.button>
</Rose::Dropdown>
{{/if}}
{{/if}}
@@ -9,4 +9,4 @@
@acknowledgeText={{t 'states.copied'}}
>
<code>{{@model.id}}</code>
</Copyable>
</Copyable>
@@ -9,4 +9,4 @@
>
{{t 'resources.managed-group.member.title_plural'}}
</nav.link>
</Rose::Nav::Tabs>
</Rose::Nav::Tabs>
@@ -16,4 +16,4 @@
</nav.link>
{{/if}}
{{/if}}
</Rose::Nav::Tabs>
</Rose::Nav::Tabs>
+1 -1
View File
@@ -34,4 +34,4 @@
{{/if}}
{{/each}}
</Rose::Nav::Breadcrumbs>
</Rose::Nav::Breadcrumbs>
+1 -1
View File
@@ -27,4 +27,4 @@
{{this.actionText}}
</Rose::Button>
{{/if}}
</span>
</span>
@@ -30,4 +30,4 @@
{{t 'resources.credential-store.actions.delete'}}
</dropdown.button>
{{/if}}
</Rose::Dropdown>
</Rose::Dropdown>
@@ -9,4 +9,4 @@
@acknowledgeText={{t 'states.copied'}}
>
<code>{{@model.id}}</code>
</Copyable>
</Copyable>
@@ -19,4 +19,4 @@
</nav.link>
{{/if}}
{{/if}}
</Rose::Nav::Tabs>
</Rose::Nav::Tabs>
@@ -5,4 +5,4 @@
submit=@submit
cancel=@cancel
}}
{{/if}}
{{/if}}
@@ -126,4 +126,4 @@
/>
{{/if}}
</Rose::Form>
</Rose::Form>
@@ -51,4 +51,4 @@
@cancelText={{t 'actions.cancel'}}
/>
</Rose::Form>
</Rose::Form>
@@ -100,4 +100,4 @@
/>
{{/if}}
</Rose::Form>
</Rose::Form>
@@ -32,4 +32,4 @@
@cancelText={{t 'actions.cancel'}}
/>
</Rose::Form>
</Rose::Form>
@@ -8,4 +8,4 @@
addStringItem=@addStringItem
addAccountClaimMapItem=@addAccountClaimMapItem
}}
{{/if}}
{{/if}}
@@ -685,4 +685,4 @@
@cancelText={{t 'actions.cancel'}}
/>
{{/if}}
</Rose::Form>
</Rose::Form>
@@ -59,4 +59,4 @@
@cancelText={{t 'actions.cancel'}}
/>
{{/if}}
</Rose::Form>
</Rose::Form>
@@ -127,4 +127,4 @@
/>
{{/if}}
</Rose::Form>
</Rose::Form>
@@ -6,4 +6,4 @@
cancel=@cancel
changeType=@changeType
}}
{{/if}}
{{/if}}
@@ -101,4 +101,4 @@
@cancelText={{t 'actions.cancel'}}
/>
{{/if}}
</Rose::Form>
</Rose::Form>
@@ -306,4 +306,4 @@
@cancelText={{t 'actions.cancel'}}
/>
{{/if}}
</Rose::Form>
</Rose::Form>
@@ -6,4 +6,4 @@
cancel=@cancel
changeType=@changeType
}}
{{/if}}
{{/if}}
@@ -153,4 +153,4 @@
/>
{{/if}}
</Rose::Form>
</Rose::Form>
@@ -135,4 +135,4 @@
/>
{{/if}}
</Rose::Form>
</Rose::Form>
@@ -70,4 +70,4 @@
</message.link>
</Rose::Message>
</Rose::Layout::Centered>
{{/unless}}
{{/unless}}
+1 -1
View File
@@ -54,4 +54,4 @@
@cancelText={{t 'actions.cancel'}}
/>
{{/if}}
</Rose::Form>
</Rose::Form>
@@ -170,4 +170,4 @@
@cancelText={{t 'actions.cancel'}}
/>
{{/if}}
</Rose::Form>
</Rose::Form>
@@ -183,4 +183,4 @@
/>
{{/if}}
</Rose::Form>
</Rose::Form>
@@ -4,4 +4,4 @@
submit=@submit
cancel=@cancel
changeType=@changeType
}}
}}
@@ -112,4 +112,4 @@
@cancelText={{t 'actions.cancel'}}
/>
{{/if}}
</Rose::Form>
</Rose::Form>
@@ -60,4 +60,4 @@
</message.link>
</Rose::Message>
</Rose::Layout::Centered>
{{/unless}}
{{/unless}}
@@ -263,4 +263,4 @@
@cancelText={{t 'actions.cancel'}}
/>
{{/if}}
</Rose::Form>
</Rose::Form>
@@ -210,4 +210,4 @@
@cancelText={{t 'actions.cancel'}}
/>
{{/if}}
</Rose::Form>
</Rose::Form>
@@ -5,4 +5,4 @@
cancel=@cancel
removeItemByIndex=@removeItemByIndex
addStringItem=@addStringItem
}}
}}
@@ -54,4 +54,4 @@
@cancelText={{t 'actions.cancel'}}
/>
{{/if}}
</Rose::Form>
</Rose::Form>
@@ -102,4 +102,4 @@
@cancelText={{t 'actions.cancel'}}
/>
{{/if}}
</Rose::Form>
</Rose::Form>
@@ -94,4 +94,4 @@
@cancelText={{t 'actions.cancel'}}
/>
{{/if}}
</Rose::Form>
</Rose::Form>
+1 -1
View File
@@ -15,4 +15,4 @@ erroring out here. This has been noted in the tech debt doc to further investiga
submit=@submit
cancel=@cancel
}}
{{/if}}
{{/if}}
@@ -79,4 +79,4 @@
@cancelText={{t 'actions.cancel'}}
/>
{{/if}}
</Rose::Form>
</Rose::Form>
@@ -78,4 +78,4 @@
@cancelText={{t 'actions.cancel'}}
/>
{{/if}}
</Rose::Form>
</Rose::Form>
@@ -31,4 +31,4 @@
@submitText={{t 'actions.next'}}
@showCancel={{false}}
/>
</Rose::Form>
</Rose::Form>
@@ -47,4 +47,4 @@
@submitText={{t 'actions.next'}}
@showCancel={{false}}
/>
</Rose::Form>
</Rose::Form>
@@ -86,4 +86,4 @@
</message.link>
</Rose::Message>
</Rose::Layout::Centered>
{{/unless}}
{{/unless}}
@@ -100,4 +100,4 @@
/>
{{/if}}
</Rose::Form>
</Rose::Form>
+1 -1
View File
@@ -131,4 +131,4 @@
@cancelText={{t 'actions.cancel'}}
/>
{{/if}}
</Rose::Form>
</Rose::Form>
+1 -1
View File
@@ -55,4 +55,4 @@
/>
{{/if}}
</Rose::Form>
</Rose::Form>
@@ -42,4 +42,4 @@
{{/each}}
</table.body>
</Rose::Table>
</Rose::Form>
</Rose::Form>
@@ -62,4 +62,4 @@
</message.link>
</Rose::Message>
</Rose::Layout::Centered>
{{/unless}}
{{/unless}}
@@ -175,4 +175,4 @@
@cancelText={{t 'actions.cancel'}}
/>
{{/if}}
</Rose::Form>
</Rose::Form>
@@ -6,4 +6,4 @@
cancel=@cancel
changeType=@changeType
}}
{{/if}}
{{/if}}
@@ -4,4 +4,4 @@
@submit={{@submit}}
@cancel={{@cancel}}
@changeType={{@changeType}}
/>
/>
@@ -4,4 +4,4 @@
@submit={{@submit}}
@cancel={{@cancel}}
@changeType={{@changeType}}
/>
/>
@@ -64,4 +64,4 @@
</message.link>
</Rose::Message>
</Rose::Layout::Centered>
{{/unless}}
{{/unless}}
+1 -1
View File
@@ -54,4 +54,4 @@
@cancelText={{t 'actions.cancel'}}
/>
{{/if}}
</Rose::Form>
</Rose::Form>
@@ -124,4 +124,4 @@
<Rose::LinkButton @route='scopes.scope.workers' @style='secondary'>
{{t 'actions.done'}}
</Rose::LinkButton>
</Rose::Form>
</Rose::Form>
@@ -85,4 +85,4 @@
@cancelText={{t 'actions.cancel'}}
/>
{{/if}}
</Rose::Form>
</Rose::Form>
@@ -18,4 +18,4 @@
{{t 'resources.group.actions.delete'}}
</dropdown.button>
{{/if}}
</Rose::Dropdown>
</Rose::Dropdown>
@@ -9,4 +9,4 @@
@acknowledgeText={{t 'states.copied'}}
>
<code>{{@model.id}}</code>
</Copyable>
</Copyable>
@@ -5,4 +5,4 @@
<nav.link @route='scopes.scope.groups.group.members'>
{{t 'resources.group.messages.members.title'}}
</nav.link>
</Rose::Nav::Tabs>
</Rose::Nav::Tabs>
@@ -12,4 +12,4 @@
>
{{t (concat 'resources.host-catalog.types.' @model.compositeType)}}
</Rose::Badge>
{{/if}}
{{/if}}
@@ -18,4 +18,4 @@
{{t 'resources.role.actions.delete'}}
</dropdown.button>
{{/if}}
</Rose::Dropdown>
</Rose::Dropdown>
@@ -9,4 +9,4 @@
@acknowledgeText={{t 'states.copied'}}
>
<code>{{@model.id}}</code>
</Copyable>
</Copyable>
@@ -8,4 +8,4 @@
<nav.link @route='scopes.scope.roles.role.grants'>
{{t 'resources.role.grant.title_plural'}}
</nav.link>
</Rose::Nav::Tabs>
</Rose::Nav::Tabs>
@@ -4,4 +4,4 @@
'flight-icons/svg/grid-16'
(if @scope.isOrg 'flight-icons/svg/org-16' 'flight-icons/svg/globe-16')
}}
>{{@scope.displayName}}</Rose::Badge>
>{{@scope.displayName}}</Rose::Badge>
@@ -25,4 +25,4 @@
{{t 'resources.target.actions.delete'}}
</dropdown.button>
{{/if}}
</Rose::Dropdown>
</Rose::Dropdown>
@@ -9,4 +9,4 @@
@acknowledgeText={{t 'states.copied'}}
>
<code>{{@model.id}}</code>
</Copyable>
</Copyable>
@@ -8,4 +8,4 @@
<nav.link @route='scopes.scope.targets.target.brokered-credential-sources'>
{{t 'resources.target.brokered-credential-source.title_plural'}}
</nav.link>
</Rose::Nav::Tabs>
</Rose::Nav::Tabs>
@@ -18,4 +18,4 @@
{{t 'resources.user.actions.delete'}}
</dropdown.button>
{{/if}}
</Rose::Dropdown>
</Rose::Dropdown>
@@ -9,4 +9,4 @@
@acknowledgeText={{t 'states.copied'}}
>
<code>{{@model.id}}</code>
</Copyable>
</Copyable>
@@ -5,4 +5,4 @@
<nav.link @route='scopes.scope.users.user.accounts'>
{{t 'resources.user.messages.accounts.title'}}
</nav.link>
</Rose::Nav::Tabs>
</Rose::Nav::Tabs>
+1 -1
View File
@@ -1 +1 @@
{{outlet}}
{{outlet}}
@@ -22,4 +22,4 @@
</Rose::Layout::Centered>
</main>
</sidebarLayout.body>
</Rose::Layout::Sidebar>
</Rose::Layout::Sidebar>
+1 -1
View File
@@ -155,4 +155,4 @@
</dialog.footer>
</Rose::Dialog>
{{/if}}
</PendingConfirmations>
</PendingConfirmations>
@@ -9,4 +9,4 @@
{{t 'auth.descriptions.flow-success'}}
</Rose::Notification>
</Rose::Layout::Centered>
</main>
</main>
@@ -14,4 +14,4 @@
</Copyable>
</Rose::Notification>
</Rose::Layout::Centered>
</main>
</main>
+1 -1
View File
@@ -3,4 +3,4 @@ Add content you wish automatically added to the documents head
here. The 'model' available in this template can be populated by
setting values on the 'head-data' service.
}}
<title>{{this.model.title}}</title>
<title>{{this.model.title}}</title>
+1 -1
View File
@@ -1 +1 @@
<h1>{{app-name}}</h1>
<h1>{{app-name}}</h1>
+1 -1
View File
@@ -1,2 +1,2 @@
{{page-title 'Onboarding'}}
{{outlet}}
{{outlet}}
@@ -8,4 +8,4 @@
<Form::Onboarding::ChoosePath @submit={{route-action 'choosePath'}} />
</:body>
</Rose::Frame>
</Rose::Layout::Centered>
</Rose::Layout::Centered>
@@ -12,4 +12,4 @@
/>
</:body>
</Rose::Frame>
</Rose::Layout::Centered>
</Rose::Layout::Centered>
@@ -95,4 +95,4 @@
</div>
</:body>
</Rose::Frame>
</Rose::Layout::Centered>
</Rose::Layout::Centered>
+1 -1
View File
@@ -1 +1 @@
{{outlet}}
{{outlet}}
+1 -1
View File
@@ -20,4 +20,4 @@
</sidebarLayout.body>
</Rose::Layout::Sidebar>
{{/unless}}
{{/unless}}
+1 -1
View File
@@ -192,4 +192,4 @@
</main>
</sidebarLayout.body>
</Rose::Layout::Sidebar>
</Rose::Layout::Sidebar>
@@ -32,4 +32,4 @@
</dropdown.link>
{{/each}}
</Rose::Dropdown>
{{/if}}
{{/if}}
@@ -15,4 +15,4 @@
<Rose::Icon @name='flight-icons/svg/lock-16' @size='medium' />
{{t 'resources.auth-method.title_plural'}}
</nav.link>
</Rose::Nav::Sidebar>
</Rose::Nav::Sidebar>
@@ -1,3 +1,3 @@
{{page-title (t 'resources.auth-method.title_plural')}}
{{outlet}}
{{outlet}}
@@ -1,3 +1,3 @@
{{page-title @model.displayName}}
{{outlet}}
{{outlet}}
@@ -1,3 +1,3 @@
{{page-title @model.displayName}}
{{outlet}}
{{outlet}}
@@ -25,4 +25,4 @@
</page.body>
</Rose::Layout::Page>
</Rose::Layout::Page>
@@ -34,4 +34,4 @@
/>
</page.body>
</Rose::Layout::Page>
</Rose::Layout::Page>
@@ -168,4 +168,4 @@
{{/if}}
</page.body>
</Rose::Layout::Page>
</Rose::Layout::Page>
@@ -20,4 +20,4 @@
</page.body>
</Rose::Layout::Page>
</Rose::Layout::Page>
@@ -27,4 +27,4 @@
/>
</page.body>
</Rose::Layout::Page>
</Rose::Layout::Page>
Loaded 100 of 332 files, more files were not shown because too many files have changed in this diff. Show more