Skip to content

Commit 8d54bd0

Browse files
committed
Prettier formatted flow-typed and plugins dirs
1 parent 1da8317 commit 8d54bd0

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

flow-typed/hex2rgba.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
declare module 'hex2rgba' {
2-
declare module.exports: (hex : string, alpha? : number) => string;
2+
declare module.exports: (hex: string, alpha?: number) => string;
33
}

plugins/gatsby-source-react-error-codes/gatsby-node.js

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
const request = require('request-promise');
22

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

5-
exports.sourceNodes = async ({ boundActionCreators }) => {
6-
const { createNode } = boundActionCreators;
6+
exports.sourceNodes = async ({boundActionCreators}) => {
7+
const {createNode} = boundActionCreators;
78

89
const jsonString = await request(errorCodesUrl);
910

@@ -16,4 +17,4 @@ exports.sourceNodes = async ({ boundActionCreators }) => {
1617
contentDigest: jsonString,
1718
},
1819
});
19-
};
20+
};

src/components/Container/Container.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* LICENSE file in the root directory of this source tree.
66
*
77
* @emails react-core
8-
*/
8+
*/
99

1010
'use strict';
1111

0 commit comments

Comments
 (0)