[ci] format

This commit is contained in:
FredKSchott 2022-03-26 00:17:33 +00:00 committed by GitHub Actions
parent 273919328a
commit a812586b58

View file

@ -41,7 +41,7 @@
import netlify from '@astrojs/netlify/functions';
export default defineConfig({
adapter: netlify(),
adapter: netlify(),
});
```
@ -61,7 +61,7 @@
import nodejs from '@astrojs/node';
export default {
adapter: nodejs(),
adapter: nodejs(),
};
```
@ -121,7 +121,7 @@
import nodejs from '@astrojs/node';
export default {
adapter: nodejs(),
adapter: nodejs(),
};
```
@ -217,7 +217,7 @@
import { defineConfig } from 'astro/config';
export default defineConfig({
renderers: [],
renderers: [],
});
```
@ -255,9 +255,9 @@
```json
{
"scripts": {
"build": "astro build --legacy-build"
}
"scripts": {
"build": "astro build --legacy-build"
}
}
```
@ -277,7 +277,7 @@
```ts
if (Astro.slots.has('default')) {
const content = await Astro.slots.render('default');
const content = await Astro.slots.render('default');
}
```
@ -361,7 +361,7 @@
```ts
if (Astro.slots.has('default')) {
const content = await Astro.slots.render('default');
const content = await Astro.slots.render('default');
}
```
@ -385,9 +385,9 @@
```json
{
"scripts": {
"build": "astro build --legacy-build"
}
"scripts": {
"build": "astro build --legacy-build"
}
}
```
@ -499,12 +499,12 @@
```typescript
// src/pages/company.json.ts
export async function get() {
return {
body: JSON.stringify({
name: 'Astro Technology Company',
url: 'https://astro.build/',
}),
};
return {
body: JSON.stringify({
name: 'Astro Technology Company',
url: 'https://astro.build/',
}),
};
}
```
@ -666,12 +666,12 @@
```typescript
// src/pages/company.json.ts
export async function get() {
return {
body: JSON.stringify({
name: 'Astro Technology Company',
url: 'https://astro.build/',
}),
};
return {
body: JSON.stringify({
name: 'Astro Technology Company',
url: 'https://astro.build/',
}),
};
}
```
@ -2026,10 +2026,10 @@ For convenience, you may now also move your `astro.config.js` file to a top-leve
```js
export default {
markdownOptions: {
remarkPlugins: ['remark-slug', ['remark-autolink-headings', { behavior: 'prepend' }]],
rehypePlugins: ['rehype-slug', ['rehype-autolink-headings', { behavior: 'prepend' }]],
},
markdownOptions: {
remarkPlugins: ['remark-slug', ['remark-autolink-headings', { behavior: 'prepend' }]],
rehypePlugins: ['rehype-slug', ['rehype-autolink-headings', { behavior: 'prepend' }]],
},
};
```
@ -2049,10 +2049,10 @@ For convenience, you may now also move your `astro.config.js` file to a top-leve
```js
export default {
name: '@matthewp/my-renderer',
server: './server.js',
client: './client.js',
hydrationPolyfills: ['./my-polyfill.js'],
name: '@matthewp/my-renderer',
server: './server.js',
client: './client.js',
hydrationPolyfills: ['./my-polyfill.js'],
};
```