Skip to content

Commit 040c471

Browse files
style: format code and update package-lock.json
Co-authored-by: Junie <junie@jetbrains.com>
1 parent 6d2f06b commit 040c471

54 files changed

Lines changed: 80 additions & 107 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,4 +107,5 @@ nodelinter.config.json
107107
CHANGELOG-*.md
108108
*.mdx
109109
trivy_report*
110+
.output.txt
110111
!/.gitignore

config/vite/types/BuildOptions.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import { BuildPaths } from "./BuildPaths";
66
* Extends Vite's `ConfigEnv` with project-specific paths and flags.
77
*/
88
export interface BuildOptions extends ConfigEnv {
9-
109
/**
1110
* Project paths.
1211
*/

config/vite/types/BuildPaths.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
* Directory paths used in the build process.
33
*/
44
export type BuildPaths = {
5-
65
/**
76
* Project root directory.
87
*/

config/vite/types/ResolveOptions.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import { AliasOptions, ResolveOptions as ViteResolveOptions } from "vite";
44
* Vite resolve options with optional aliases.
55
*/
66
export type ResolveOptions = ViteResolveOptions & {
7-
87
/**
98
* Module aliases.
109
*/

package-lock.json

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/controller/decorators/Controller.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import {
99
* Interface representing controller options.
1010
*/
1111
export interface ControllerOptions {
12-
1312
/**
1413
* The base path for all routes in the controller.
1514
*/

src/controller/decorators/Value.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export function Value(key: string): ParameterDecorator {
5151

5252
const updatedTokens: Record<string, InjectTokenDefinition> = {
5353
...existing,
54-
[ `${ParamSource.INJECT}:${parameterIndex}` ]: {
54+
[`${ParamSource.INJECT}:${parameterIndex}`]: {
5555
type: ParamSource.VALUE,
5656
token: key,
5757
index: parameterIndex

src/controller/decorators/params/pipes/ParseBigIntPipe.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export class ParseBigIntPipe implements PipeTransform<string | number | bigint,
2929
metadata: ArgumentMetadata
3030
): bigint {
3131
if (Array.isArray(value)) {
32-
value = value[ 0 ];
32+
value = value[0];
3333
}
3434

3535
try {

src/controller/decorators/params/pipes/ParseBooleanPipe.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export class ParseBooleanPipe implements PipeTransform<string | boolean, boolean
2929
metadata: ArgumentMetadata
3030
): boolean {
3131
if (Array.isArray(value)) {
32-
value = value[ 0 ];
32+
value = value[0];
3333
}
3434

3535
if (value === true || value === "true" || value === 1 || value === "1") {

src/controller/decorators/params/pipes/ParseFloatPipe.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export class ParseFloatPipe implements PipeTransform<string | number, number> {
2929
metadata: ArgumentMetadata
3030
): number {
3131
if (Array.isArray(value)) {
32-
value = value[ 0 ];
32+
value = value[0];
3333
}
3434

3535
const isNumeric: boolean =

0 commit comments

Comments
 (0)