From eddfce4d2312913bd2f3f781ad2a11a5e71f3a01 Mon Sep 17 00:00:00 2001 From: Aman Sharma Date: Mon, 21 Oct 2019 03:14:30 +0530 Subject: [PATCH] Wrap strings at 80 characters --- .eslintrc.json | 1 + src/Diagram/index.js | 2 ++ src/Documentation/HeadInjector.js | 20 ++++++++++++++++---- src/Documentation/Markdown/Markdown.js | 1 + src/Documentation/SidebarMenu/helper.test.js | 1 + src/Documentation/glossary.js | 13 +++++++------ src/DownloadButton/index.js | 20 ++++++++++++++++---- src/LandingHero/index.js | 2 ++ src/Subscribe/index.js | 2 ++ src/SubscribeForm/index.js | 10 ++++++++-- src/Video/index.js | 5 ++++- src/styles.js | 2 ++ 12 files changed, 62 insertions(+), 17 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index ff1fc1ac0be..bec02dd35fb 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -15,6 +15,7 @@ } }, "rules": { + "max-len": ["error", { "ignoreStrings": false }], "no-tabs": "error" } } diff --git a/src/Diagram/index.js b/src/Diagram/index.js index ff25ee4e4f2..f802a7ea268 100644 --- a/src/Diagram/index.js +++ b/src/Diagram/index.js @@ -160,6 +160,7 @@ export class DiagramSection extends Component { export default DiagramSection +/* eslint-disable max-len */ const Diagram = styled.section` padding-top: 80px; padding-bottom: 91px; @@ -343,3 +344,4 @@ const SliderDots = styled.ul` font-size: 8px; } ` +/* eslint-enable max-len */ diff --git a/src/Documentation/HeadInjector.js b/src/Documentation/HeadInjector.js index e2b9795a65b..d8a0de47132 100644 --- a/src/Documentation/HeadInjector.js +++ b/src/Documentation/HeadInjector.js @@ -7,19 +7,31 @@ export const HeadInjector = ({ sectionName = 'Documentation' }) => (