Skip to content

Commit 3db32a4

Browse files
committed
chore: format source code with updated prettier/eslint config
1 parent b0073fa commit 3db32a4

4 files changed

Lines changed: 4 additions & 5 deletions

File tree

src/client/core.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,9 @@
1717

1818
import { HttpClientOptions } from './http-client';
1919

20-
// eslint-disable-next-line @typescript-eslint/no-empty-interface
20+
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
2121
export interface ClientOptions extends HttpClientOptions {}
2222

23-
// eslint-disable-next-line @typescript-eslint/no-empty-interface
2423
export interface Client {
2524
name: string;
2625
options: ClientOptions;

src/client/gelato-client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export class GelatoClient implements Client {
6666
return this.ensureService_(name, () => init(this));
6767
}
6868

69-
// eslint-disable-next-line @typescript-eslint/naming-convention
69+
7070
private ensureService_<T>(serviceName: string, initializer: () => T): T {
7171
if (!(serviceName in this.services_)) {
7272
this.services_[serviceName] = initializer();

src/client/lifecycle.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export class ClientStore {
7676
throw new GelatoClientError(ClientErrorCode.NO_CLIENT, errorMessage);
7777
}
7878

79-
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
79+
8080
return this.clientStore.get(clientName)!;
8181
}
8282

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ gelato-admin appears to have been installed in an unsupported environment.
2424
This package should only be used in server-side or backend Node.js environments,
2525
and should not be used in web browsers or other client-side environments.
2626
`;
27-
// eslint-disable-next-line no-console
27+
2828
console.error(message);
2929
}
3030

0 commit comments

Comments
 (0)