Skip to content

Commit

Permalink
🐛 eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
takuma-ru committed Dec 3, 2024
1 parent 7fdb529 commit b39733c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
6 changes: 5 additions & 1 deletion packages/auto-story-generator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,14 @@ export default config;
| Custom | 📝 |

## Contributors

### Main contributor
[![](https://avatars.githubusercontent.com/u/49429291?v=4&size=32)](https://github.com/takuma-ru)

[![](https://avatars.githubusercontent.com/u/49429291?v=4&size=32)](https://github.com/takuma-ru)<br>

takuma-ru : Core API, React presets more...

### Special thanks

<!-- TODO: Add GeetaKrishna65 Profile image -->
<!-- GeetaKrishna65 : Create Angular presets -->
16 changes: 8 additions & 8 deletions packages/auto-story-generator/src/core/genStoryFile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ import { minimatch } from "minimatch";
import * as prettier from "prettier";
import { Project, SyntaxKind } from "ts-morph";
import { getComponentInfo } from "~/src/core/getComponentInfo";
import { genAngularStoryFile } from "~/src/presets/angular/genAngularStoryFile";
import { genLitStoryFile } from "~/src/presets/lit/genLitStoryFile";
import { genReactStoryFile } from "~/src/presets/react/genReactStoryFile";
import { genAngularStoryFile } from "~/src/presets/angular/genAngularStoryFile";
import { throwErr } from "~/src/utils/throwError";

export async function genStoryFile({
Expand Down Expand Up @@ -120,14 +120,14 @@ export async function genStoryFile({

case "angular": {
genStoryFileOptions = await genAngularStoryFile({
componentName: componentName,
fileBase: fileBase,
fileName: fileName,
componentName,
fileBase,
fileName,
path: id,
fileExt: fileExt,
filePrefixExt: filePrefixExt,
relativeSourceFilePath: relativeSourceFilePath,
sourceFile: sourceFile,
fileExt,
filePrefixExt,
relativeSourceFilePath,
sourceFile,
prettierConfigPath: options.prettierConfigPath,
});

Expand Down

0 comments on commit b39733c

Please sign in to comment.