Skip to content

Commit ea3f761

Browse files
committed
chore(monorepo): Format workspace source files
1 parent e235de7 commit ea3f761

6 files changed

Lines changed: 18 additions & 10 deletions

File tree

packages/cli/src/types/env.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ export interface StormStackCLIEnv extends StormSentryLogEnv {
2727
* - `memory`: Generated source code is stored in a virtual file system to reduce boilerplate.
2828
* - `fs`: Outputs generated results to the local file system.
2929
*
30-
* @defaultValue "memory"
30+
* @defaultValue "virtual"
3131
*/
32-
OUTPUT_MODE?: "memory" | "fs";
32+
OUTPUT_MODE?: "virtual" | "fs";
3333

3434
/**
3535
* An indicator used to skip version checks for installed packages.

packages/eslint-config/src/configs/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
This code was released as part of the Storm Stack project. Storm Stack
66
is maintained by Storm Software under the Apache-2.0 license, and is
77
free for commercial and private use. For more information, please visit
8-
our licensing page at https://stormsoftware.com/license.
8+
our licensing page at https://stormsoftware.com/licenses/projects/storm-stack.
99
1010
Website: https://stormsoftware.com
1111
Repository: https://github.com/storm-software/storm-stack

packages/eslint-config/src/preset.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ export async function getConfig(
5858
configs.push(...config);
5959
}
6060

61-
const tsdoc = options["tsdoc"];
62-
delete options["tsdoc"];
61+
const tsdoc = options.tsdoc;
62+
delete options.tsdoc;
6363

6464
return getStormConfig(
6565
defu((options as Omit<BaseOptionsConfig, "tsdoc">) ?? {}, {

packages/eslint-config/src/types.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
This code was released as part of the Storm Stack project. Storm Stack
66
is maintained by Storm Software under the Apache-2.0 license, and is
77
free for commercial and private use. For more information, please visit
8-
our licensing page at https://stormsoftware.com/license.
8+
our licensing page at https://stormsoftware.com/licenses/projects/storm-stack.
99
1010
Website: https://stormsoftware.com
1111
Repository: https://github.com/storm-software/storm-stack
@@ -59,6 +59,8 @@ export interface OptionsStormStack extends OptionsFiles, OptionsOverrides {
5959
defaultConfig?: "none" | "base" | "recommended" | "strict";
6060
}
6161

62+
export type TSDocConfigType = "base" | "core" | "recommended";
63+
6264
/**
6365
* Additional ESLint configuration options.
6466
*/
@@ -86,5 +88,8 @@ export interface OptionsConfig extends Omit<BaseOptionsConfig, "tsdoc"> {
8688
*
8789
* @defaultValue "recommended"
8890
*/
89-
"tsdoc"?: boolean | "base" | "recommended" | { configFile?: string };
91+
"tsdoc"?:
92+
| boolean
93+
| TSDocConfigType
94+
| { configFile?: string; type: TSDocConfigType };
9095
}

packages/eslint-config/src/utilities/get-overrides.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
This code was released as part of the Storm Stack project. Storm Stack
66
is maintained by Storm Software under the Apache-2.0 license, and is
77
free for commercial and private use. For more information, please visit
8-
our licensing page at https://stormsoftware.com/license.
8+
our licensing page at https://stormsoftware.com/licenses/projects/storm-stack.
99
1010
Website: https://stormsoftware.com
1111
Repository: https://github.com/storm-software/storm-stack
@@ -31,5 +31,8 @@ export function getOverrides(
3131
options: OptionsConfig,
3232
configName: keyof OptionsConfig
3333
) {
34-
return getBaseOverrides(options, configName as keyof BaseOptionsConfig);
34+
return getBaseOverrides(
35+
options as BaseOptionsConfig,
36+
configName as keyof BaseOptionsConfig
37+
);
3538
}

packages/eslint-config/src/utilities/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
This code was released as part of the Storm Stack project. Storm Stack
66
is maintained by Storm Software under the Apache-2.0 license, and is
77
free for commercial and private use. For more information, please visit
8-
our licensing page at https://stormsoftware.com/license.
8+
our licensing page at https://stormsoftware.com/licenses/projects/storm-stack.
99
1010
Website: https://stormsoftware.com
1111
Repository: https://github.com/storm-software/storm-stack

0 commit comments

Comments
 (0)