Skip to content

Commit 9f96c44

Browse files
committed
template strings under 80 chars
1 parent cce9bb3 commit 9f96c44

File tree

5 files changed

+17
-7
lines changed

5 files changed

+17
-7
lines changed

dangerfile.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,9 @@ if (thisPRSize > bigPRThreshold) {
5353
<details>
5454
<summary>:exclamation: Big PR!</summary>
5555
<blockquote>
56-
<p>We like to try and keep PRs under ${bigPRThreshold} lines, and this one was ${thisPRSize} lines.</p>
56+
<p>We like to try and keep PRs under ${
57+
bigPRThreshold
58+
} lines, and this one was ${thisPRSize} lines.</p>
5759
<p>If the PR contains multiple logical changes, splitting each change into a separate PR will allow a faster, easier, and more thorough review.</p>
5860
</blockquote>
5961
</details>`,

source/user-agent.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,6 @@ const platformString =
1010
: Platform.OS == 'android' ? 'Android' : 'unknown'
1111
const platformVersion = Platform.Version || 'unknown'
1212

13-
export const AAO_USER_AGENT = `AllAboutOlaf/${aaoVersion} (${platformString}/${platformVersion})`
13+
export const AAO_USER_AGENT = `AllAboutOlaf/${aaoVersion} (${platformString}/${
14+
platformVersion
15+
})`

source/views/calendar/calendar-google.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ export class GoogleCalendarView extends React.Component {
4141
}
4242

4343
buildCalendarUrl(calendarId: string) {
44-
let calendarUrl = `https://www.googleapis.com/calendar/v3/calendars/${calendarId}/events`
44+
let calendarUrl = `https://www.googleapis.com/calendar/v3/calendars/${
45+
calendarId
46+
}/events`
4547
let params = {
4648
maxResults: 50,
4749
orderBy: 'startTime',

source/views/news/news-item.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,11 @@ export default function NewsItem(props: {
4141
<header class="aao-header">
4242
<h1>${story.title}</h1>
4343
</header>
44-
${embedFeaturedImage && story.featuredImage
45-
? `<img src="${story.featuredImage}">`
46-
: ''}
44+
${
45+
embedFeaturedImage && story.featuredImage
46+
? `<img src="${story.featuredImage}">`
47+
: ''
48+
}
4749
${story.content}
4850
`
4951

source/views/transportation/bus/map.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,9 @@ export class BusMapView extends React.PureComponent {
8989
const today = now.format('dddd')
9090
return (
9191
<NoticeView
92-
text={`No coordinates have been provided for today's (${today}) schedule on the "${lineToDisplay}" line`}
92+
text={`No coordinates have been provided for today's (${
93+
today
94+
}) schedule on the "${lineToDisplay}" line`}
9395
/>
9496
)
9597
}

0 commit comments

Comments
 (0)