diff --git a/src/fixtures/gatsby/blank.expected.js b/src/fixtures/gatsby/blank.expected.js index ab90730..481c029 100644 --- a/src/fixtures/gatsby/blank.expected.js +++ b/src/fixtures/gatsby/blank.expected.js @@ -1,2 +1,2 @@ // Default Pages configuration for Gatsby -module.exports = { pathPrefix: "/docs/" } +module.exports = { pathPrefix: '/docs/' } diff --git a/src/fixtures/gatsby/blank.js b/src/fixtures/gatsby/blank.js index 420a62a..1577579 100644 --- a/src/fixtures/gatsby/blank.js +++ b/src/fixtures/gatsby/blank.js @@ -1 +1 @@ -// This file is not read by the test suite \ No newline at end of file +// This file is not read by the test suite diff --git a/src/fixtures/gatsby/default.expected.js b/src/fixtures/gatsby/default.expected.js index 6de9670..4292b44 100644 --- a/src/fixtures/gatsby/default.expected.js +++ b/src/fixtures/gatsby/default.expected.js @@ -1,8 +1,8 @@ module.exports = { - pathPrefix: "/docs/", + pathPrefix: '/docs/', siteMetadata: { title: `My Gatsby Site`, - siteUrl: `https://www.yourdomain.tld`, + siteUrl: `https://www.yourdomain.tld` }, - plugins: [], -} \ No newline at end of file + plugins: [] +} diff --git a/src/fixtures/gatsby/default.js b/src/fixtures/gatsby/default.js index 48f3a6f..627fb5e 100644 --- a/src/fixtures/gatsby/default.js +++ b/src/fixtures/gatsby/default.js @@ -1,7 +1,7 @@ module.exports = { siteMetadata: { title: `My Gatsby Site`, - siteUrl: `https://www.yourdomain.tld`, + siteUrl: `https://www.yourdomain.tld` }, - plugins: [], -} \ No newline at end of file + plugins: [] +} diff --git a/src/fixtures/next/blank.js b/src/fixtures/next/blank.js index 420a62a..1577579 100644 --- a/src/fixtures/next/blank.js +++ b/src/fixtures/next/blank.js @@ -1 +1 @@ -// This file is not read by the test suite \ No newline at end of file +// This file is not read by the test suite diff --git a/src/fixtures/next/default.expected.js b/src/fixtures/next/default.expected.js index de677b8..d323db7 100644 --- a/src/fixtures/next/default.expected.js +++ b/src/fixtures/next/default.expected.js @@ -1,6 +1,6 @@ /** @type {import('next').NextConfig} */ const nextConfig = { - experimental: {images: {unoptimized: true}}, + experimental: { images: { unoptimized: true } }, basePath: '/docs', reactStrictMode: true, swcMinify: true diff --git a/src/fixtures/next/default.js b/src/fixtures/next/default.js index 9dba35e..e674786 100644 --- a/src/fixtures/next/default.js +++ b/src/fixtures/next/default.js @@ -1,7 +1,7 @@ /** @type {import('next').NextConfig} */ const nextConfig = { reactStrictMode: true, - swcMinify: true, + swcMinify: true } -module.exports = nextConfig \ No newline at end of file +module.exports = nextConfig diff --git a/src/fixtures/nuxt/async.expected.js b/src/fixtures/nuxt/async.expected.js index 50c2e4f..231f6dc 100644 --- a/src/fixtures/nuxt/async.expected.js +++ b/src/fixtures/nuxt/async.expected.js @@ -1,17 +1,17 @@ -const getAllDynamicRoute = async function() { +const getAllDynamicRoute = async function () { const routes = await (async () => { - return ['/posts/hello-world', '/posts/hello-again']; - })(); - return routes; -}; + return ['/posts/hello-world', '/posts/hello-again'] + })() + return routes +} export default { target: 'static', - router: {base: '/docs/'}, + router: { base: '/docs/' }, mode: 'universal', generate: { - async routes () { - return getAllDynamicRoute(); + async routes() { + return getAllDynamicRoute() } } -}; +} diff --git a/src/fixtures/nuxt/async.js b/src/fixtures/nuxt/async.js index 00b6057..a32b219 100644 --- a/src/fixtures/nuxt/async.js +++ b/src/fixtures/nuxt/async.js @@ -1,15 +1,15 @@ -const getAllDynamicRoute = async function() { +const getAllDynamicRoute = async function () { const routes = await (async () => { - return ['/posts/hello-world', '/posts/hello-again']; - })(); - return routes; -}; + return ['/posts/hello-world', '/posts/hello-again'] + })() + return routes +} export default { mode: 'universal', generate: { - async routes () { - return getAllDynamicRoute(); + async routes() { + return getAllDynamicRoute() } } -}; +} diff --git a/src/fixtures/nuxt/blank.expected.js b/src/fixtures/nuxt/blank.expected.js index a4b48a8..30b62f2 100644 --- a/src/fixtures/nuxt/blank.expected.js +++ b/src/fixtures/nuxt/blank.expected.js @@ -1,2 +1,2 @@ // Default Pages configuration for Nuxt -export default {target: 'static', router: {base: '/docs/'}} +export default { target: 'static', router: { base: '/docs/' } } diff --git a/src/fixtures/nuxt/blank.js b/src/fixtures/nuxt/blank.js index 420a62a..1577579 100644 --- a/src/fixtures/nuxt/blank.js +++ b/src/fixtures/nuxt/blank.js @@ -1 +1 @@ -// This file is not read by the test suite \ No newline at end of file +// This file is not read by the test suite diff --git a/src/fixtures/nuxt/default.expected.js b/src/fixtures/nuxt/default.expected.js index a7ae19f..32e84fc 100644 --- a/src/fixtures/nuxt/default.expected.js +++ b/src/fixtures/nuxt/default.expected.js @@ -1,7 +1,7 @@ export default { // Disable server-side rendering: https://go.nuxtjs.dev/ssr-mode target: 'static', - router: { base: "/docs/" }, + router: { base: '/docs/' }, ssr: false, // Global page headers: https://go.nuxtjs.dev/config-head @@ -16,31 +16,24 @@ export default { { hid: 'description', name: 'description', content: '' }, { name: 'format-detection', content: 'telephone=no' } ], - link: [ - { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' } - ] + link: [{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }] }, // Global CSS: https://go.nuxtjs.dev/config-css - css: [ - ], + css: [], // Plugins to run before rendering page: https://go.nuxtjs.dev/config-plugins - plugins: [ - ], + plugins: [], // Auto import components: https://go.nuxtjs.dev/config-components components: true, // Modules for dev and build (recommended): https://go.nuxtjs.dev/config-modules - buildModules: [ - ], + buildModules: [], // Modules: https://go.nuxtjs.dev/config-modules - modules: [ - ], + modules: [], // Build Configuration: https://go.nuxtjs.dev/config-build - build: { - } -} \ No newline at end of file + build: {} +} diff --git a/src/fixtures/nuxt/default.js b/src/fixtures/nuxt/default.js index bf60eee..11d92cd 100644 --- a/src/fixtures/nuxt/default.js +++ b/src/fixtures/nuxt/default.js @@ -14,31 +14,24 @@ export default { { hid: 'description', name: 'description', content: '' }, { name: 'format-detection', content: 'telephone=no' } ], - link: [ - { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' } - ] + link: [{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }] }, // Global CSS: https://go.nuxtjs.dev/config-css - css: [ - ], + css: [], // Plugins to run before rendering page: https://go.nuxtjs.dev/config-plugins - plugins: [ - ], + plugins: [], // Auto import components: https://go.nuxtjs.dev/config-components components: true, // Modules for dev and build (recommended): https://go.nuxtjs.dev/config-modules - buildModules: [ - ], + buildModules: [], // Modules: https://go.nuxtjs.dev/config-modules - modules: [ - ], + modules: [], // Build Configuration: https://go.nuxtjs.dev/config-build - build: { - } -} \ No newline at end of file + build: {} +}