Skip to content

Commit 44d2c5b

Browse files
chore(deps-dev): bump ember-cli-template-lint from 0.7.6 to 2.0.0 (#3920)
* chore(deps-dev): bump ember-cli-template-lint from 0.7.6 to 2.0.0 Bumps [ember-cli-template-lint](https://github.com/ember-template-lint/ember-cli-template-lint) from 0.7.6 to 2.0.0. - [Release notes](https://github.com/ember-template-lint/ember-cli-template-lint/releases) - [Changelog](https://github.com/ember-template-lint/ember-cli-template-lint/blob/master/CHANGELOG.md) - [Commits](ember-template-lint/ember-cli-template-lint@v0.7.6...v2.0.0) Signed-off-by: dependabot-preview[bot] <[email protected]>
1 parent 298a636 commit 44d2c5b

File tree

20 files changed

+406
-118
lines changed

20 files changed

+406
-118
lines changed

.template-lintrc.js

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@ module.exports = {
66
rules: {
77
'no-nested-interactive': {
88
ignoredTags: ['label'] // Allow label tag inside a or any other interactive element
9-
}
9+
},
10+
'link-rel-noopener': true,
11+
// TODO: Remove and fix
12+
'require-button-type': false,
13+
'no-partial': false,
14+
'require-valid-alt-text': false,
15+
'no-inline-styles': false,
16+
'no-negated-condition': false,
17+
'no-invalid-meta': false // Crashing the linter https://github.com/ember-template-lint/ember-template-lint/pull/1087
1018
}
1119
};

app/templates/application.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<i class="close icon" onclick={{action (mut showCookie) false}} role="button"></i>
66
{{model.cookiePolicy}}
77
{{#if model.cookiePolicyLink}}
8-
<p>For more information <a href="{{model.cookiePolicyLink}}">click here</a>.</p>
8+
<p><a href="{{model.cookiePolicyLink}}">Click here For more information</a></p>
99
{{/if}}
1010
</div>
1111
{{/if}}

app/templates/attendee-app.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div class='ui secondary pointing menu'>
2-
<a class='active item'>
2+
<a href="#" class='active item'>
33
{{t 'Attendee App'}}
44
</a>
55
</div>

app/templates/components/account/email-preferences-section.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<h4 class="ui header">{{preference.event.name}}</h4>
2626
</div>
2727
<div class="ui column eight wide right aligned">
28-
<a class="ui circular label {{if (or preference.newPaper preference.sessionSchedule preference.nextEvent) 'green' 'yellow'}}">
28+
<a href="#" class="ui circular label {{if (or preference.newPaper preference.sessionSchedule preference.nextEvent) 'green' 'yellow'}}">
2929
{{#if (or preference.newPaper preference.sessionSchedule preference.nextEvent)}}
3030
{{t 'On'}}
3131
{{else}}

app/templates/components/event-card.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
</a>
5454
{{else}}
5555
{{#each tags as |tag|}}
56-
<a>{{tag}}</a>
56+
<a href="#">{{tag}}</a>
5757
{{/each}}
5858
{{/if}}
5959
{{/if}}

app/templates/components/forms/wizard/basic-details-step.hbs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
placeholder=(t 'Location is required to make this event live')}}
1616
<div class="inline field">
1717
<div class="ui slider checkbox">
18-
{{input id='show_map' type='checkbox' id='show_map' checked=data.event.isMapShown}}
18+
{{input id='show_map' type='checkbox' checked=data.event.isMapShown}}
1919
<label for="show_map">{{t 'Show map on event page'}}</label>
2020
</div>
2121
</div>
@@ -389,10 +389,10 @@
389389
<div class="field">
390390
{{#if (or data.event.stripeAuthorization.stripeAuthCode data.event.stripeAuthorization.stripePublishableKey)}}
391391
<label class="required">{{t 'You have linked your Stripe account successfully. Click Here to Disconnect you account.'}}</label>
392-
<a class="stripe-connect" role="button" {{action 'disconnectStripe'}}><span>{{t 'Disconnect Stripe Account'}}</span></a>
392+
<a href="#" class="stripe-connect" role="button" {{action 'disconnectStripe'}}><span>{{t 'Disconnect Stripe Account'}}</span></a>
393393
{{else}}
394394
<label class="required">{{t 'Connect to your Stripe account'}}</label>
395-
<a class="stripe-connect" role="button" {{action 'connectStripe'}}><span>{{t 'Connect with Stripe'}}</span></a>
395+
<a href="#" class="stripe-connect" role="button" {{action 'connectStripe'}}><span>{{t 'Connect with Stripe'}}</span></a>
396396
{{/if}}
397397
</div>
398398
{{/if}}

app/templates/components/nav-bar.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<a href="{{href-to 'admin'}}" class="item">{{t 'Admin'}}</a>
2727
{{/if}}
2828
<div class="divider"></div>
29-
<a role="button" class="item logout-button" {{action 'logout'}}><span>{{t 'Logout'}}<i class="ui right floated large signout sign out icon"></i></span></a>
29+
<a href="#" role="button" class="item logout-button" {{action 'logout'}}><span>{{t 'Logout'}}<i class="ui right floated large signout sign out icon"></i></span></a>
3030
</div>
3131
{{/ui-dropdown}}
3232
{{else}}
@@ -44,7 +44,7 @@
4444
</div>
4545
<div class="mobile only row">
4646
<div class="ui navbar tiny menu">
47-
<a class="menu item open sidebar">
47+
<a href="#" class="menu item open sidebar">
4848
<i class="large content icon"></i>
4949
</a>
5050
{{#link-to 'index' class='item' activeClass=''}}

app/templates/components/public/call-for-speakers.hbs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
<h1 class="ui header">
33
{{t 'Call for Speakers'}}
44
{{#if data.speakersCall.isOpen}}
5-
<a class="ui basic green label">{{t 'Open'}}</a>
5+
<a href="#" class="ui basic green label">{{t 'Open'}}</a>
66
<div class="sub header">
77
{{t 'Call for Speakers is open until'}} {{moment-format data.speakersCall.endsAt 'ddd, MMM DD h:mm A'}}
88
</div>
99
{{else}}
10-
<a class="ui basic red label">{{t 'Closed'}}</a>
10+
<a href="#" class="ui basic red label">{{t 'Closed'}}</a>
1111
<div class="sub header">
1212
{{#if data.speakersCall.isInFuture}}
1313
{{t 'Call for Speakers will open at'}} {{moment-format data.speakersCall.startsAt 'ddd, MMM DD h:mm A' }}
@@ -28,7 +28,7 @@
2828
{{#if session.id}}
2929
<div class="item">
3030
{{#link-to 'public.cfs.edit-session' session.id }}
31-
<a class="ui very tiny basic blue button">{{session.title}}</a>
31+
<a href="#" class="ui very tiny basic blue button">{{session.title}}</a>
3232
{{/link-to}}
3333
</div>
3434
{{/if}}

app/templates/components/public/event-map.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div class="eight wide column event-map">
33
<h1>{{t 'Getting Here'}}</h1>
44
{{#if (eq mapConfig.display 'embed') }}
5-
<iframe class="g-map" src="https://maps.google.com/maps?q={{event.locationName}}&t=&z=15&ie=UTF8&iwloc=&output=embed" frameborder="0" scrolling="no"></iframe>
5+
<iframe title="Map" class="g-map" src="https://maps.google.com/maps?q={{event.locationName}}&t=&z=15&ie=UTF8&iwloc=&output=embed" frameborder="0" scrolling="no"></iframe>
66
{{else}}
77
{{#g-map markersFitMode='live' lat=37.744 lng=-122.4367 address=event.locationName zoom=2 class='google-maps' as |context|}}
88
{{#g-map-address-marker context address=event.locationName as |markerContext|}}

app/templates/components/tables/utilities/pagination.hbs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
<div class="ui small pagination menu">
2-
<a role="button" class="item {{if moveToPreviousPageDisabled 'disabled'}}" {{action 'moveToFirstPage'}}>
2+
<a href="#" role="button" class="item {{if moveToPreviousPageDisabled 'disabled'}}" {{action 'moveToFirstPage'}}>
33
<i class="angle double left icon"></i>
44
</a>
5-
<a role="button" class="item {{if moveToPreviousPageDisabled 'disabled'}}" {{action 'moveToPreviousPage'}}>
5+
<a href="#" role="button" class="item {{if moveToPreviousPageDisabled 'disabled'}}" {{action 'moveToPreviousPage'}}>
66
<i class="angle left icon"></i>
77
</a>
8-
<a role="button" class="item {{if moveToNextPageDisabled 'disabled'}}" {{action 'moveToNextPage'}}>
8+
<a href="#" role="button" class="item {{if moveToNextPageDisabled 'disabled'}}" {{action 'moveToNextPage'}}>
99
<i class="angle right icon"></i>
1010
</a>
11-
<a role="button" class="item {{if moveToNextPageDisabled 'disabled'}}" {{action 'moveToLastPage'}}>
11+
<a href="#" role="button" class="item {{if moveToNextPageDisabled 'disabled'}}" {{action 'moveToLastPage'}}>
1212
<i class="angle double right icon"></i>
1313
</a>
1414
</div>

0 commit comments

Comments
 (0)