Skip to content

Commit

Permalink
style: format all files
Browse files Browse the repository at this point in the history
  • Loading branch information
micalevisk committed Jul 30, 2023
1 parent ddcaaa1 commit ff52a06
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/compiler/defaults/swc-defaults.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const swcDefaultsFactory = (
transform: {
legacyDecorator: true,
decoratorMetadata: true,
useDefineForClassFields: false
useDefineForClassFields: false,
},
keepClassNames: true,
baseUrl: tsOptions?.baseUrl,
Expand Down
5 changes: 4 additions & 1 deletion lib/runners/abstract.runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ import { ChildProcess, spawn, SpawnOptions } from 'child_process';
import { MESSAGES } from '../ui';

export class AbstractRunner {
constructor(protected binary: string, protected args: string[] = []) {}
constructor(
protected binary: string,
protected args: string[] = [],
) {}

public async run(
command: string,
Expand Down
5 changes: 4 additions & 1 deletion lib/schematics/schematic.option.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
import { normalizeToKebabOrSnakeCase } from '../utils/formatting';

export class SchematicOption {
constructor(private name: string, private value: boolean | string) {}
constructor(
private name: string,
private value: boolean | string,
) {}

get normalizedName() {
return normalizeToKebabOrSnakeCase(this.name);
Expand Down

0 comments on commit ff52a06

Please sign in to comment.