Skip to content

Commit

Permalink
Prettier formatted flow-typed and plugins dirs
Browse files Browse the repository at this point in the history
  • Loading branch information
bvaughn committed Oct 5, 2017
1 parent 1da8317 commit 8d54bd0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion flow-typed/hex2rgba.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
declare module 'hex2rgba' {
declare module.exports: (hex : string, alpha? : number) => string;
declare module.exports: (hex: string, alpha?: number) => string;
}
9 changes: 5 additions & 4 deletions plugins/gatsby-source-react-error-codes/gatsby-node.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
const request = require('request-promise');

const errorCodesUrl = 'http://raw.githubusercontent.com/facebook/react/master/scripts/error-codes/codes.json';
const errorCodesUrl =
'http://raw.githubusercontent.com/facebook/react/master/scripts/error-codes/codes.json';

exports.sourceNodes = async ({ boundActionCreators }) => {
const { createNode } = boundActionCreators;
exports.sourceNodes = async ({boundActionCreators}) => {
const {createNode} = boundActionCreators;

const jsonString = await request(errorCodesUrl);

Expand All @@ -16,4 +17,4 @@ exports.sourceNodes = async ({ boundActionCreators }) => {
contentDigest: jsonString,
},
});
};
};
2 changes: 1 addition & 1 deletion src/components/Container/Container.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* LICENSE file in the root directory of this source tree.
*
* @emails react-core
*/
*/

'use strict';

Expand Down

0 comments on commit 8d54bd0

Please sign in to comment.