diff --git a/FUNDING.md b/FUNDING.md index a2f30315d..8a29c9011 100644 --- a/FUNDING.md +++ b/FUNDING.md @@ -1,6 +1,7 @@ # Astro Project Funding _Last Updated: 02-09-2022_ + ## Raising Funds Astro is an MIT licensed open source project and completely free to use. However, the amount of effort needed to maintain and develop new features for Astro is not sustainable without proper financial backing. We need your help to achieve this. diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index 00e96e83a..b59bccac2 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1286,10 +1286,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' }]], + }, }; ``` @@ -1309,10 +1309,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'], }; ``` diff --git a/packages/astro/test/astro-attrs.test.js b/packages/astro/test/astro-attrs.test.js index bf0106af7..1f2dc1544 100644 --- a/packages/astro/test/astro-attrs.test.js +++ b/packages/astro/test/astro-attrs.test.js @@ -31,7 +31,7 @@ describe('Attributes', async () => { }; for (const id of Object.keys(attrs)) { - const { attribute, value } = attrs[id] + const { attribute, value } = attrs[id]; const attr = $(`#${id}`).attr(attribute); expect(attr).to.equal(value); } diff --git a/packages/astro/test/astro-jsx.test.js b/packages/astro/test/astro-jsx.test.js index cca247d01..14ca9aa24 100644 --- a/packages/astro/test/astro-jsx.test.js +++ b/packages/astro/test/astro-jsx.test.js @@ -2,7 +2,6 @@ import { expect } from 'chai'; import { loadFixture } from './test-utils.js'; describe('JSX', () => { - let cwd = './fixtures/astro-jsx/'; let orders = [ ['preact', 'react', 'solid'], @@ -13,7 +12,7 @@ describe('JSX', () => { ['solid', 'preact', 'react'], ]; let fixtures = {}; - + before(async () => { await Promise.all( orders.map((renderers, n) => @@ -28,13 +27,13 @@ describe('JSX', () => { ) ); }); - + it('Renderer order', () => { it('JSX renderers can be defined in any order', async () => { if (!Object.values(fixtures).length) { throw new Error(`JSX renderers didn’t build properly`); } - + for (const [name, fixture] of Object.entries(fixtures)) { const html = await fixture.readFile('/index.html'); expect(html, name).to.be.ok; diff --git a/packages/astro/test/lit-element.test.js b/packages/astro/test/lit-element.test.js index ad11fb641..8bb537874 100644 --- a/packages/astro/test/lit-element.test.js +++ b/packages/astro/test/lit-element.test.js @@ -7,7 +7,7 @@ describe('LitElement test', () => { const NODE_VERSION = parseFloat(process.versions.node); const stripExpressionMarkers = (html) => html.replace(//g, ''); - + before(async () => { // @lit-labs/ssr/ requires Node 13.9 or higher if (NODE_VERSION < 13.9) { diff --git a/packages/astro/test/postcss.test.js b/packages/astro/test/postcss.test.js index 006c432e1..e528e23a4 100644 --- a/packages/astro/test/postcss.test.js +++ b/packages/astro/test/postcss.test.js @@ -14,7 +14,7 @@ describe('PostCSS', () => { renderers: ['@astrojs/renderer-solid', '@astrojs/renderer-svelte', '@astrojs/renderer-vue'], }); await fixture.build(); - + // get bundled CSS (will be hashed, hence DOM query) const html = await fixture.readFile('/index.html'); const $ = cheerio.load(html);