Skip to content

Commit 9a8027b

Browse files
committed
lint
1 parent 1be74d0 commit 9a8027b

File tree

3 files changed

+7
-10
lines changed

3 files changed

+7
-10
lines changed

packages/@apphosting/adapter-nextjs/src/overrides.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,9 @@ export async function overrideNextConfig(projectRoot: string, nextConfigFileName
7272
* Current overrides include:
7373
* - images.unoptimized = true, unless user explicitly sets images.unoptimized to false or
7474
* is using a custom image loader.
75-
*
7675
* @param importStatement The import statement for the original config.
7776
* @param fileExtension The file extension of the original config. Use ".js", ".mjs", or ".ts"
78-
* @returns The custom Next.js config.
77+
* @return The custom Next.js config.
7978
*/
8079
function getCustomNextConfig(importStatement: string, fileExtension: string) {
8180
return `
@@ -150,7 +149,6 @@ export async function validateNextConfigOverride(
150149
* This function adds the following headers to all routes:
151150
* - x-fah-adapter: The Firebase App Hosting adapter version used to build the app.
152151
* - x-fah-middleware: When middleware is enabled.
153-
*
154152
* @param appPath The path to the app directory.
155153
* @param distDir The path to the dist directory.
156154
* @param adapterMetadata The adapter metadata.

packages/@apphosting/adapter-nextjs/src/utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export async function loadConfig(root: string, projectRoot: string): Promise<Nex
4242
* Loads the route manifest from the standalone directory.
4343
* @param standalonePath The path to the standalone directory.
4444
* @param distDir The path to the dist directory.
45-
* @returns The route manifest.
45+
* @return The route manifest.
4646
*/
4747
export function loadRouteManifest(standalonePath: string, distDir: string): RoutesManifest {
4848
const manifestPath = join(standalonePath, distDir, ROUTES_MANIFEST);
@@ -54,7 +54,7 @@ export function loadRouteManifest(standalonePath: string, distDir: string): Rout
5454
* Loads the middleware manifest from the standalone directory.
5555
* @param standalonePath The path to the standalone directory.
5656
* @param distDir The path to the dist directory.
57-
* @returns The middleware manifest.
57+
* @return The middleware manifest.
5858
*/
5959
export function loadMiddlewareManifest(
6060
standalonePath: string,

packages/@apphosting/common/src/index.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,18 +39,17 @@ export interface Metadata {
3939
frameworkVersion?: string;
4040
}
4141

42-
// Optional outputFiles to configure outputFiles and optimize server files + static assets.
42+
// Optional outputFiles to configure outputFiles and optimize server files + static assets.
4343
// If this is not set then all of the source code will be uploaded
4444
interface OutputFiles {
45-
serverApp: ServerApp
45+
serverApp: ServerApp;
4646
}
4747

48-
// ServerApp holds a list of directories + files relative to the app root dir that frameworks need to deploy to the App Hosting server,
48+
// ServerApp holds a list of directories + files relative to the app root dir that frameworks need to deploy to the App Hosting server,
4949
// generally this will be the output/dist directory (e.g. .output or dist). To include all files set this to [“.”]
5050
interface ServerApp {
51-
include: string[]
51+
include: string[];
5252
}
53-
5453

5554
// Represents a single environment variable.
5655
export interface EnvVarConfig {

0 commit comments

Comments
 (0)