Skip to content

Commit

Permalink
[ci] format
Browse files Browse the repository at this point in the history
  • Loading branch information
natemoo-re authored and actions-user committed Mar 25, 2022
1 parent 109693b commit 192d703
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 38 deletions.
64 changes: 32 additions & 32 deletions packages/astro/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
import netlify from '@astrojs/netlify/functions';
export default defineConfig({
adapter: netlify(),
adapter: netlify(),
});
```
Expand All @@ -47,7 +47,7 @@
import nodejs from '@astrojs/node';
export default {
adapter: nodejs(),
adapter: nodejs(),
};
```

Expand Down Expand Up @@ -107,7 +107,7 @@
import nodejs from '@astrojs/node';
export default {
adapter: nodejs(),
adapter: nodejs(),
};
```
Expand Down Expand Up @@ -203,7 +203,7 @@
import { defineConfig } from 'astro/config';
export default defineConfig({
renderers: [],
renderers: [],
});
```
Expand Down Expand Up @@ -241,9 +241,9 @@
```json
{
"scripts": {
"build": "astro build --legacy-build"
}
"scripts": {
"build": "astro build --legacy-build"
}
}
```
Expand All @@ -263,7 +263,7 @@
```ts
if (Astro.slots.has('default')) {
const content = await Astro.slots.render('default');
const content = await Astro.slots.render('default');
}
```
Expand Down Expand Up @@ -347,7 +347,7 @@
```ts
if (Astro.slots.has('default')) {
const content = await Astro.slots.render('default');
const content = await Astro.slots.render('default');
}
```
Expand All @@ -371,9 +371,9 @@
```json
{
"scripts": {
"build": "astro build --legacy-build"
}
"scripts": {
"build": "astro build --legacy-build"
}
}
```
Expand Down Expand Up @@ -485,12 +485,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/',
}),
};
}
```
Expand Down Expand Up @@ -652,12 +652,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/',
}),
};
}
```
Expand Down Expand Up @@ -2012,10 +2012,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' }]],
},
};
```
Expand All @@ -2035,10 +2035,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'],
};
```
Expand Down
2 changes: 1 addition & 1 deletion packages/integrations/netlify/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
import netlify from '@astrojs/netlify/functions';

export default defineConfig({
adapter: netlify(),
adapter: netlify(),
});
```
2 changes: 1 addition & 1 deletion packages/integrations/node/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import netlify from '@astrojs/netlify/functions';

export default defineConfig({
adapter: netlify(),
adapter: netlify(),
});
```

Expand Down
8 changes: 4 additions & 4 deletions packages/markdown/remark/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,10 +187,10 @@
```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' }]],
},
};
```

Expand Down

0 comments on commit 192d703

Please sign in to comment.