diff --git a/gatsby-config.js b/gatsby-config.js index ebfe67f9..66f84a54 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -2,7 +2,7 @@ * Copyright (c) 2013-present, Facebook, Inc. * * @emails react-core -*/ + */ 'use strict'; diff --git a/plugins/gatsby-source-react-error-codes/gatsby-node.js b/plugins/gatsby-source-react-error-codes/gatsby-node.js index eef00fbe..cde9ef59 100644 --- a/plugins/gatsby-source-react-error-codes/gatsby-node.js +++ b/plugins/gatsby-source-react-error-codes/gatsby-node.js @@ -20,7 +20,9 @@ exports.sourceNodes = async ({boundActionCreators}) => { }); } catch (error) { console.error( - `The gatsby-source-react-error-codes plugin has failed:\n${error.message}`, + `The gatsby-source-react-error-codes plugin has failed:\n${ + error.message + }`, ); process.exit(1); diff --git a/src/components/CodeEditor/CodeEditor.js b/src/components/CodeEditor/CodeEditor.js index f4f187f3..efaab557 100644 --- a/src/components/CodeEditor/CodeEditor.js +++ b/src/components/CodeEditor/CodeEditor.js @@ -146,7 +146,8 @@ class CodeEditor extends Component { - this.setState({showJSX: event.target.checked})} + this.setState({showJSX: event.target.checked}) + } type="checkbox" />{' '} JSX? diff --git a/src/components/MarkdownPage/MarkdownPage.js b/src/components/MarkdownPage/MarkdownPage.js index 634bed23..b727f825 100644 --- a/src/components/MarkdownPage/MarkdownPage.js +++ b/src/components/MarkdownPage/MarkdownPage.js @@ -97,8 +97,9 @@ const MarkdownPage = ({
+ href={`https://github.com/reactjs/reactjs.org/tree/master/content/${ + markdownRemark.fields.path + }`}> Edit this page
diff --git a/src/pages/acknowledgements.html.js b/src/pages/acknowledgements.html.js index 5252e13b..948a6bfa 100644 --- a/src/pages/acknowledgements.html.js +++ b/src/pages/acknowledgements.html.js @@ -52,9 +52,7 @@ const Acknowlegements = ({data, location}) => (
  • Christopher Aue for - letting us use the - reactjs.com - {' '} + letting us use the reactjs.com{' '} domain name and the{' '} @reactjs username on Twitter. @@ -70,9 +68,7 @@ const Acknowlegements = ({data, location}) => ( react org on GitHub.
  • - - Dmitri Voronianski - {' '} + Dmitri Voronianski{' '} for letting us use the{' '} Oceanic Next diff --git a/src/theme.js b/src/theme.js index 38ce19f0..9da7e3e4 100644 --- a/src/theme.js +++ b/src/theme.js @@ -45,14 +45,16 @@ type Size = $Keys; const media = { between(smallKey: Size, largeKey: Size, excludeLarge: boolean = false) { if (excludeLarge) { - return `@media (min-width: ${SIZES[smallKey] - .min}px) and (max-width: ${SIZES[largeKey].min - 1}px)`; + return `@media (min-width: ${ + SIZES[smallKey].min + }px) and (max-width: ${SIZES[largeKey].min - 1}px)`; } else { if (SIZES[largeKey].max === Infinity) { return `@media (min-width: ${SIZES[smallKey].min}px)`; } else { - return `@media (min-width: ${SIZES[smallKey] - .min}px) and (max-width: ${SIZES[largeKey].max}px)`; + return `@media (min-width: ${SIZES[smallKey].min}px) and (max-width: ${ + SIZES[largeKey].max + }px)`; } } },