Skip to content

Commit 042e34b

Browse files
author
David Evans
committed
Lint: no-unescaped-entities
1 parent 1e86fe7 commit 042e34b

File tree

9 files changed

+12
-9
lines changed

9 files changed

+12
-9
lines changed

web/.eslintrc.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ module.exports = {
1818
'react/forbid-prop-types': ['off'],
1919
'react/jsx-no-target-blank': ['off'],
2020
'react/jsx-one-expression-per-line': ['off'],
21-
'react/no-unescaped-entities': ['off'],
2221
'react/sort-comp': ['off'],
2322

2423
'arrow-parens': ['error', 'always'],

web/src/components/home/home_page.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ export default class HomePage extends React.Component {
9494
</div>
9595
<div className="row">
9696
<div className="text-center whats-a-retro-link">
97-
<a href="https://builttoadapt.io/how-to-run-a-really-good-retrospective-8982bd839e16" target="_blank">What's a retro?</a>
97+
<a href="https://builttoadapt.io/how-to-run-a-really-good-retrospective-8982bd839e16" target="_blank">What&apos;s a retro?</a>
9898
</div>
9999
</div>
100100
</div>

web/src/components/not-found/not_found_page.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export default class NotFoundPage extends React.Component {
5252
<div className="error-page">
5353
<div className="row" style={{marginTop: '180px'}}>
5454
<div className="small-centered medium-8 small-10 columns">
55-
<h1>Oops... Looks like the page you're looking for doesn't exist.</h1>
55+
<h1>Oops... Looks like the page you&apos;re looking for doesn&apos;t exist.</h1>
5656
<p>Perhaps you were trying to do this?</p>
5757
<div className="row">
5858
<button

web/src/components/registration/registration_page.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ export default class RegistrationPage extends React.Component {
124124

125125
<div className="row terms-text">
126126
<p>
127-
By continuing, you agree to Postfacto's
127+
By continuing, you agree to Postfacto&apos;s
128128
{' '}<a href="/terms" target="_blank">Terms of Use</a> and
129129
{' '}<a href="/privacy" target="_blank">Privacy Policy</a>
130130
</p>

web/src/components/retro-create/retro_create_page.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ export default class RetroCreatePage extends React.Component {
213213

214214
<div className="medium-centered small-centered" style={{width: '30rem'}}>
215215
<div className="row">
216-
<label className="label">What's your team called?</label>
216+
<label className="label">What&apos;s your team called?</label>
217217
<input
218218
id="retro_name"
219219
value={name}

web/src/components/retro-not-found/retro_not_found_page.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ export default class RetroNotFoundPage extends React.Component {
5353
<div className="row" style={{marginTop: '180px'}}>
5454
<div className="small-centered medium-8 small-10 columns">
5555
<h1>Project not found.</h1>
56-
<p>Unfortunately, we couldn't find that project. If you've created a project already, double-check your URL.</p>
57-
<p>If you haven't created a project, why don't you create one?</p>
56+
<p>Unfortunately, we couldn&apos;t find that project. If you&apos;ve created a project already, double-check your URL.</p>
57+
<p>If you haven&apos;t created a project, why don&apos;t you create one?</p>
5858
<div className="row">
5959
<button
6060
className="retro-form-submit expanded button"

web/src/components/retro-show/countdown_timer.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ export default class CountdownTimer extends React.Component {
9797
className="retro-item-timer-extend"
9898
onClick={this.onExtendTimerClicked}
9999
>
100-
<span className="item-times-up">Time's Up!</span>
100+
<span className="item-times-up">Time&apos;s Up!</span>
101101
<br/>
102102
+2 more minutes
103103
</div>

web/src/components/server-lost/api_server_not_found_page.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export default class ApiServerNotFoundPage extends React.PureComponent {
4646
<div className="image">
4747
<img src={faceDeadSvg} alt="Error"/>
4848
</div>
49-
<h1>Oh no! It's broken</h1>
49+
<h1>Oh no! It&apos;s broken</h1>
5050
<p>Try refreshing the page, or come back later.</p>
5151
</div>
5252
</div>

web/src/components/terms/new_terms_page.jsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@
3232
import React from 'react';
3333
import RetroFooter from '../shared/footer';
3434

35+
/* eslint-disable react/no-unescaped-entities */
36+
3537
export default () => (
3638
<div id="new-terms" className="terms">
3739
<div className="simple-text-page">
@@ -237,3 +239,5 @@ export default () => (
237239
<RetroFooter/>
238240
</div>
239241
);
242+
243+
/* eslint-enable react/no-unescaped-entities */

0 commit comments

Comments
 (0)