Skip to content

Commit fd3ab8b

Browse files
committed
Fix lint:hbs
1 parent 77c0600 commit fd3ab8b

File tree

14 files changed

+32
-30
lines changed

14 files changed

+32
-30
lines changed

.template-lintrc.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,9 @@
22

33
module.exports = {
44
extends: 'recommended',
5+
rules: {
6+
'no-curly-component-invocation': {
7+
allow: ['format-date-time', 'html-safe', 'printf'],
8+
},
9+
},
510
};

app/components/cta-emberconf.hbs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@
99
target="_blank"
1010
>
1111
<img
12-
alt=""
13-
role="presentation"
14-
src="/images/brand/virtual-emberconf-2022-logo.svg"
12+
alt="" src="/images/brand/virtual-emberconf-2022-logo.svg"
1513
>
1614
</a>
1715
</div>

app/components/ember-community-survey/introduction.hbs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<div class="bg-dark bg-shape-boxes">
22
<div class="container">
3+
{{!-- template-lint-disable no-empty-headings --}}
34
<h1>
45
<img
56
alt={{@surveyLogoAlt}}

app/components/index/ember-addons.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
class="addon-tabs--header"
44
role="tablist"
55
>
6-
{{!-- template-lint-disable "no-down-event-binding" --}}
6+
{{!-- template-lint-disable "no-pointer-down-event-binding" --}}
77
{{#each this.emberAddons as |emberAddon index|}}
88
<Index::EmberAddons::Tab
99
@currentTabId={{this.currentTabId}}

app/templates/about/legal.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
</p>
3333
</div>
3434
<div class="lg:col-1 sm:col-1">
35-
<img role="presentation" alt="" class="right" src="/images/legal/license-cc_by_nc_sa.png" loading="lazy">
35+
<img alt="" class="right" src="/images/legal/license-cc_by_nc_sa.png" loading="lazy">
3636
</div>
3737
</div>
3838
<p>

app/templates/community/index.hbs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<h1 id="section-community">Get Involved: Join the Growing Ember.js Community</h1>
33

44
<div class="lg:col-2">
5-
<img alt="" role="presentation" class="img-content" src="/images/community/sos.png">
5+
<img alt="" class="img-content" src="/images/community/sos.png">
66
</div>
77

88
<div class="lg:col-4">
@@ -50,7 +50,7 @@
5050
<section aria-labelledby="section-reporting-bugs">
5151
<div class="layout">
5252
<div class="lg:col-2 lg:start-5">
53-
<img alt="" class="img-content" src="/images/community/bug.png" role="presentation" loading="lazy">
53+
<img alt="" class="img-content" src="/images/community/bug.png" loading="lazy">
5454
</div>
5555
<div class="lg:col-4">
5656
<h2 id="section-reporting-bugs">Something Fishy? Report it to the Team</h2>
@@ -78,7 +78,7 @@
7878
<div class="container layout">
7979
<section class="layout" aria-labelledby="section-contribute-to-ember">
8080
<div class="lg:col-2">
81-
<img alt="" class="img-content" src="/images/community/give.png" role="presentation" loading="lazy">
81+
<img alt="" class="img-content" src="/images/community/give.png" loading="lazy">
8282
</div>
8383
<div class="lg:col-4">
8484
<h2 id="section-contribute-to-ember" class="text-center">In a Giving Mood? Contribute to the Project</h2>
@@ -90,7 +90,7 @@
9090

9191
<section class="lg:col-3 text-center" aria-labelledby="section-meetups">
9292
<h2 id="section-meetups">Feeling Lonely? Join a Meetup</h2>
93-
<img alt="" src="/images/community/meetup.png" role="presentation" loading="lazy">
93+
<img alt="" src="/images/community/meetup.png" loading="lazy">
9494
<p>
9595
Joining an Ember.js meetup is a great way to learn more about Ember, meet other developers, find jobs, etc. Any and all things Ember and local.
9696
</p>
@@ -101,7 +101,7 @@
101101

102102
<section class="lg:col-3 text-center" aria-labelledby="section-mascots">
103103
<h2 id="section-mascots">Met The Mascots? You'll Love Them!</h2>
104-
<img alt="" src="/images/community/campster.png" role="presentation" loading="lazy">
104+
<img alt="" src="/images/community/campster.png" loading="lazy">
105105
<p>
106106
Tomster and Zoey have been crafted with love, and are constantly getting makeovers. Events, User Groups, Countries&mdash;sky's the limit!
107107
</p>

app/templates/community/meetups/assets.hbs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
<li>
101101
<a href="https://www.meetup.com/Ember-js-Munich/" rel="nofollow noopener noreferrer" target="_blank">
102102
<div class="well well-1/1">
103-
<img src="/images/community/tomsters/Ember-Munich-Half-sm.png" alt="" role="presentation">
103+
<img src="/images/community/tomsters/Ember-Munich-Half-sm.png" alt="">
104104
</div>
105105
Ember Munich
106106
</a>
@@ -109,7 +109,7 @@
109109
<li>
110110
<a href="https://www.meetup.com/Ember-ATX/" rel="noopener noreferrer" target="_blank">
111111
<div class="well well-1/1">
112-
<img src="/images/community/tomsters/Ember-Austin-Zoey-Half-sm.png" alt="" role="presentation">
112+
<img src="/images/community/tomsters/Ember-Austin-Zoey-Half-sm.png" alt="">
113113
</div>
114114
Ember Austin
115115
</a>
@@ -118,7 +118,7 @@
118118
<li>
119119
<a href="https://www.meetup.com/Vancouver-Ember-js/" rel="nofollow noopener noreferrer" target="_blank">
120120
<div class="well well-1/1">
121-
<img src="/images/community/tomsters/Ember-Vancouver-Half-sm.png" alt="" role="presentation">
121+
<img src="/images/community/tomsters/Ember-Vancouver-Half-sm.png" alt="">
122122
</div>
123123
Ember Vancouver
124124
</a>

app/templates/community/meetups/index.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
<ul class="list-unstyled grid lg:grid-4 sm:grid-2">
5252
{{#each area.meetups as |meetup|}}
5353
<li>
54-
<img width="12" class="align-middle icon-left" src="/images/meetups/map-pin.png" alt="" role="presentation">
54+
<img width="12" class="align-middle icon-left" src="/images/meetups/map-pin.png" alt="">
5555
<a href={{meetup.url}}>{{meetup.location}}</a>
5656
</li>
5757
{{/each}}
@@ -63,7 +63,7 @@
6363

6464
<section aria-labelledby="start-your-meetup">
6565
<h2 id="start-your-meetup">Start your own meetup</h2>
66-
<img alt="" src="/images/community/meetup.png" align="left" role="presentation">
66+
<img alt="" src="/images/community/meetup.png" align="left">
6767
<p>
6868
Ready to start a Meetup in your area? Fantastic news—appreciate you stepping up! Running a solid meetup isn't all that complicated, but it <strong>can</strong> be intimidating:<br>
6969
we'd love to help you ease into it.

app/templates/editions/index.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@
2222
<li>
2323
<LinkTo @route="editions.octane">
2424
<div class="well p-5">
25-
<img src="/images/tomsters/octane.png" alt="" role="presentation">
25+
<img src="/images/tomsters/octane.png" alt="">
2626
</div>
2727
Octane (March 2019)
2828
</LinkTo>
2929
</li>
3030
<li>
3131
<LinkTo @route="editions.polaris">
3232
<div class="well p-5">
33-
<img src="/images/tomsters/1-canary.png" alt="" role="presentation">
33+
<img src="/images/tomsters/1-canary.png" alt="">
3434
</div>
3535
Polaris
3636
</LinkTo>

app/templates/index.hbs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
</div>
3838
<div class="layout">
3939
<div class="lg:col-4 lg:start-3">
40-
<img class="img-fluid" alt="" src="/images/home/ember-build.svg" role="presentation" width="636" height="424">
40+
<img class="img-fluid" alt="" src="/images/home/ember-build.svg" width="636" height="424">
4141
</div>
4242
<div class="lg:col-2">
4343
<h3 class="text-lg">Build pipeline</h3>
@@ -46,7 +46,7 @@
4646
</div>
4747
<div class="layout mt-4">
4848
<div class="lg:col-4">
49-
<img class="img-fluid" src="/images/home/ember-routing.svg" alt="" role="presentation" width="636" height="424">
49+
<img class="img-fluid" src="/images/home/ember-routing.svg" alt="" width="636" height="424">
5050
</div>
5151
<div class="lg:col-2">
5252
<h3 class="text-lg">Routing</h3>
@@ -55,7 +55,7 @@
5555
</div>
5656
<div class="layout mt-4">
5757
<div class="lg:col-4 lg:start-3">
58-
<img class="img-fluid" src="/images/home/ember-data.svg" alt="" role="presentation" width="636" height="424">
58+
<img class="img-fluid" src="/images/home/ember-data.svg" alt="" width="636" height="424">
5959
</div>
6060
<div class="lg:col-2">
6161
<h3 class="text-lg">Data layer</h3>
@@ -66,7 +66,7 @@
6666
</div>
6767
<div class="layout mt-4">
6868
<div class="lg:col-4">
69-
<img src="/images/home/ember-testing.svg" alt="" role="presentation" width="636" height="424">
69+
<img src="/images/home/ember-testing.svg" alt="" width="636" height="424">
7070
</div>
7171
<div class="lg:col-2">
7272
<h3 class="text-lg">Testing</h3>
@@ -77,7 +77,7 @@
7777
</div>
7878
<div class="layout mt-4">
7979
<div class="lg:col-4 lg:start-3">
80-
<img class="img-fluid" src="/images/home/ember-performance.svg" alt="" role="presentation" width="636" height="424">
80+
<img class="img-fluid" src="/images/home/ember-performance.svg" alt="" width="636" height="424">
8181
</div>
8282
<div class="lg:col-2">
8383
<h3 class="text-lg">Performance</h3>
@@ -88,7 +88,7 @@
8888
</div>
8989
<div class="layout mt-4">
9090
<div class="lg:col-4">
91-
<img src="/images/home/ember-upgrades.svg" alt="" role="presentation" width="636" height="424">
91+
<img src="/images/home/ember-upgrades.svg" alt="" width="636" height="424">
9292
</div>
9393
<div class="lg:col-2">
9494
<h3 class="text-lg">Easy upgrades</h3>

app/templates/learn/index.hbs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@
2525

2626
<img
2727
alt=""
28-
class="lg:col-2"
29-
role="presentation"
30-
src="/images/tomsters/teaching-reverse.png"
28+
class="lg:col-2" src="/images/tomsters/teaching-reverse.png"
3129
>
3230
</div>
3331

app/templates/mascots/commission.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,6 @@
223223
</div>
224224

225225
<div class="lg:col-2 hide-on-mobile">
226-
<img alt="" src="/images/tomster-faq.png" role="presentation" loading="lazy">
226+
<img alt="" src="/images/tomster-faq.png" loading="lazy">
227227
</div>
228228
</section>

app/templates/mascots/payment.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@
269269
value="4MEwuslashIt71HHTl4RHHwuBejVv47f4wuslashdPwuBeUDhWl3a811Scy1w="
270270
/>
271271

272-
{{!-- template-lint-disable "no-down-event-binding" --}}
272+
{{!-- template-lint-disable "no-pointer-down-event-binding" --}}
273273
<input
274274
id="saveForm"
275275
name="saveForm"
@@ -309,6 +309,6 @@
309309
</div>
310310

311311
<div class="lg:col-2 hide-on-mobile">
312-
<img alt="" src="/images/tomster-faq.png" role="presentation" loading="lazy">
312+
<img alt="" src="/images/tomster-faq.png" loading="lazy">
313313
</div>
314314
</section>

app/templates/survey/2020.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
</p>
6161

6262
<blockquote class="quote">
63-
Ember is the anti-fatigue framework. It doesn’t pretend to be all things to all people. It acknowledges its flaws while also making clear the plan to address them. It details a clear roadmap for the future and delivers on it incrementally. Simply put, working with Ember makes me happy.
63+
Ember is the anti-fatigue framework. It doesn’t pretend to be all things to all people. It acknowledges its flaws while also making clear the plan to address them. It details a clear roadmap for the future and delivers on it incrementally. Simply put, working with Ember makes me happy.
6464
</blockquote>
6565
</EsCard>
6666

0 commit comments

Comments
 (0)