Skip to content

Commit c0eb85a

Browse files
committed
Fix template lint issues
1 parent 6fff0c3 commit c0eb85a

File tree

8 files changed

+28
-16
lines changed

8 files changed

+28
-16
lines changed

tests/dummy/app/pods/docs/components/docs-demo/demo3/template.hbs

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,16 @@
22
{{#docs-demo as |demo|}}
33
{{#demo.example name='docs-demo-custom.md'}}
44
<pre>
5-
# Markdown
6-
- Has syntax highlighting, too
5+
# Markdown
6+
- Has syntax highlighting, too
77
</pre>
88
{{/demo.example}}
99

1010
{{demo.snippet 'docs-demo-custom-src.hbs' label='Source'}}
11-
{{demo.snippet 'docs-demo-custom.md' label='My Custom Label' language='markdown'}}
11+
{{demo.snippet
12+
'docs-demo-custom.md'
13+
label='My Custom Label'
14+
language='markdown'
15+
}}
1216
{{/docs-demo}}
1317
{{!-- END-SNIPPET --}}

tests/dummy/app/pods/docs/components/docs-hero/demo-2/template.hbs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
{{docs-hero
44
prefix='EmberData'
55
heading='Something'
6-
byline='The best addon ever. Now playing in theaters.'}}
6+
byline='The best addon ever. Now playing in theaters.'
7+
}}
78
{{/demo.example}}
89

910
{{demo.snippet 'docs-hero-2.hbs'}}

tests/dummy/app/pods/docs/components/docs-snippet/demo1/template.hbs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
<div class="docs-my-8">
2-
{{#docs-snippet name="docs-snippet.hbs"}}
1+
<div class='docs-my-8'>
2+
{{#docs-snippet name='docs-snippet.hbs'}}
33
<div id='foo'>
44
{{#my-awesome-thing
55
some=true
6-
options=false}}
6+
options=false
7+
}}
78
<p>Something old, something new</p>
89
{{/my-awesome-thing}}
910
</div>

tests/dummy/app/pods/docs/components/docs-snippet/demo2/template.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
<div class="docs-my-8">
2-
{{#docs-snippet name="my-snippet-src.hbs"}}
1+
<div class='docs-my-8'>
2+
{{#docs-snippet name='my-snippet-src.hbs'}}
33
// BEGIN-SNIPPET my-snippet.js
44
App = Ember.Application.extend({
55
modulePrefix: config.modulePrefix,
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
<div class="docs-my-8">
2-
{{#docs-snippet name="my-snippet-src2.hbs"}}
1+
<div class='docs-my-8'>
2+
{{#docs-snippet name='my-snippet-src2.hbs'}}
33
{{docs-snippet name='my-snippet.js'}}
44
{{/docs-snippet}}
55
</div>

tests/dummy/app/pods/docs/components/docs-snippet/demo4/template.hbs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
<div class="docs-my-8">
2-
{{#docs-snippet name="docs-snippet-title-example.js" title="app/components/my-component.js"}}
1+
<div class='docs-my-8'>
2+
{{#docs-snippet
3+
name='docs-snippet-title-example.js'
4+
title='app/components/my-component.js'
5+
}}
36
import Component from '@ember/component';
47
export default Component.extend({
58
// ...

tests/dummy/app/pods/index/template.hbs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,11 @@
44
<section class='docs-max-w-md docs-mx-auto docs-pb-8'>
55
{{index/index-content}}
66

7-
<div class="docs-my-16 docs-text-right">
8-
{{#link-to 'docs' class='docs-bg-grey-darkest hover:docs-bg-black docs-text-white docs-py-2 docs-px-4 docs-no-underline docs-rounded'}}
7+
<div class='docs-my-16 docs-text-right'>
8+
{{#link-to
9+
'docs'
10+
class='docs-bg-grey-darkest hover:docs-bg-black docs-text-white docs-py-2 docs-px-4 docs-no-underline docs-rounded'
11+
}}
912
Read the docs →
1013
{{/link-to}}
1114
</div>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div class="docs-container">
1+
<div class='docs-container'>
22
<h1>Not found</h1>
33
<p>This page doesn't exist. {{#link-to 'index'}}Head home?{{/link-to}}</p>
44
</div>

0 commit comments

Comments
 (0)