fix: set a max-len rule for eslint

This commit is contained in:
Valeriy S
2019-02-26 00:18:46 +05:30
committed by mrugesh mohapatra
parent 1c6df3649b
commit 1faa8dc0c1
6 changed files with 20 additions and 1 deletions
+2
View File
@@ -21,6 +21,7 @@ import { Link, Spacer } from '../components/helpers';
import './common-pages.css';
/* eslint-disable max-len */
const AboutPage = () => {
return (
<Fragment>
@@ -335,6 +336,7 @@ const AboutPage = () => {
</Fragment>
);
};
/* eslint-enable max-len */
AboutPage.displayName = 'AboutPage';
+2
View File
@@ -83,6 +83,7 @@ class DonateOtherPage extends Component {
);
}
/* eslint-disable max-len */
render() {
return (
<Fragment>
@@ -222,6 +223,7 @@ class DonateOtherPage extends Component {
</Fragment>
);
}
/* eslint-enable max-len */
}
DonateOtherPage.displayName = 'DonateOtherPage';
+8 -1
View File
@@ -6,6 +6,7 @@ import { Link, Spacer } from '../components/helpers';
import './common-pages.css';
/* eslint-disable max-len */
const SupportPage = () => {
return (
<Fragment>
@@ -43,7 +44,12 @@ const SupportPage = () => {
cancel your donations right from your settings page. In the
meantime, if you need to update or cancel your monthly donation,
forward an invoice you received in your email to{' '}
<a href='mailto:team@freecodecamp.org'>team@freecodecamp.org</a>{' '}
{
/* prettier-ignore */
}
<a href='mailto:team@freecodecamp.org'>
team@freecodecamp.org
</a>{' '}
and tell us what you'd like us to do, and we'll take care of it
for you in our database.
</p>
@@ -105,6 +111,7 @@ const SupportPage = () => {
</Fragment>
);
};
/* eslint-enable max-len */
SupportPage.displayName = 'SupportPage';