Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

Commit

Permalink
format all files with Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
dsokal committed Jul 22, 2020
1 parent 06f1227 commit ae7e55c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions packages/configure-splash-screen/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ yarn run @expo/configure-splash-screen [options] <backgroundColor> [imagePathOrD
- `darkModeImagePath` - (optional) Path to valid .png image that will be displayed in native splash screen in dark mode only. If this argument is not specified then image from imagePath will be used in dark mode as well. This argument is available only if dark mode support is detected.

### Options:

- `-r, --resize-mode [resizeMode]` - ResizeMode to be used for native splash screen image. Available values: "contain" | "cover" | "native" (only available for android platform)) (default: "contain"). See [resize modes](https://github.com/expo/expo/tree/master/packages/expo-splash-screen#built-in-splash-screen-image-resize-modes) for more information.
- `-p, --platform [platform]` - Selected platform to configure. Available values: "android" | "ios" | "all". (default: "all")
- `--statusbar-style [statusBarStyle]` - Customizes the color of the StatusBar icons. Available values: "default" | "light-content" | "dark-content". (default: "default")
Expand Down
2 changes: 1 addition & 1 deletion packages/expo-cli/src/commands/eject.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ async function action(
}
}

export default function(program: Command) {
export default function (program: Command) {
program
.command('eject [project-dir]')
.description(
Expand Down
2 changes: 1 addition & 1 deletion packages/expo-cli/src/commands/send.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ async function action(projectDir: string, options: Options) {
}
}

export default function(program: Command) {
export default function (program: Command) {
program
.command('send [project-dir]')
.description(`Send the project's url to an email address`)
Expand Down
10 changes: 5 additions & 5 deletions packages/webpack-config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Running `expo customize:web` will generate this default config in your project.
```js
const createExpoWebpackConfigAsync = require('@expo/webpack-config');

module.exports = async function(env, argv) {
module.exports = async function (env, argv) {
const config = await createExpoWebpackConfigAsync(env, argv);
// Customize the config before returning it.
return config;
Expand Down Expand Up @@ -242,7 +242,7 @@ You may find that you want to include universal modules that aren't part of the
```ts
const createExpoWebpackConfigAsync = require('@expo/webpack-config');

module.exports = async function(env, argv) {
module.exports = async function (env, argv) {
const config = await createExpoWebpackConfigAsync(
{
...env,
Expand All @@ -266,7 +266,7 @@ If you're adding support to some other Webpack config like in Storybook or Gatsb
```ts
const { withUnimodules } = require('@expo/webpack-config/addons');

module.exports = function() {
module.exports = function () {
const someWebpackConfig = {
/* Your custom Webpack config */
};
Expand Down Expand Up @@ -296,7 +296,7 @@ If you want to modify the babel loader further, you can retrieve it using the he
const createExpoWebpackConfigAsync = require('@expo/webpack-config');
const { getExpoBabelLoader } = require('@expo/webpack-config/utils');

module.exports = async function(env, argv) {
module.exports = async function (env, argv) {
const config = await createExpoWebpackConfigAsync(env, argv);
const loader = getExpoBabelLoader(config);
if (loader) {
Expand Down Expand Up @@ -335,7 +335,7 @@ This can have some unfortunate side-effects as application libraries like expo-n
```js
const createExpoWebpackConfigAsync = require('@expo/webpack-config');

module.exports = async function(env, argv) {
module.exports = async function (env, argv) {
// Set offline to `false`
const config = await createExpoWebpackConfigAsync({ ...env, offline: false }, argv);
return config;
Expand Down

0 comments on commit ae7e55c

Please sign in to comment.