Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improving maintainability: run lint #196

Merged
merged 12 commits into from
Jan 7, 2022

Conversation

mrauhu
Copy link
Contributor

@mrauhu mrauhu commented Jan 6, 2022

Hello.

This pull request is part of #188.

Resolves #193 (comment).

Done:

  • Run lint on all codebase.
  • Fix code inspection warnings from a JetBrains IDE for the packages/storybook-builder-vite directory.
  • Create .git-blame-ignore-revs file.

@eirslett, @IanVS

For setup, run once:

git config blame.ignoreRevsFile .git-blame-ignore-revs

Also, you can enable the Hide whitespace changes option in the Files changed tab settings.

Best wishes,
Sergey.

@mrauhu mrauhu force-pushed the improving-maintainability/run-lint branch 3 times, most recently from 5e7fe98 to a8a5be0 Compare January 6, 2022 20:34
@IanVS
Copy link
Member

IanVS commented Jan 6, 2022

Thanks for this, I will review it after #193 is merged, since it is difficult right now to tell what's a part of this PR and what's a part of the other.

mrauhu added 12 commits January 7, 2022 19:30
…HtmlUnknownTarget` and `noinspection CssUnusedSymbol`

# Conflicts:
#	packages/storybook-builder-vite/input/iframe.html
…script.ts`.

TODO: Inline variable and remove `noinspection`.

We are using `/** */` comment between `//` comments, because it's only way to make work both JetBrains IDE comments.
# Conflicts:
#	packages/storybook-builder-vite/index.js
… in the server watcher change callback of `configureServer()` function
For using it, run one time:

```
git config blame.ignoreRevsFile .git-blame-ignore-revs
```
@mrauhu mrauhu force-pushed the improving-maintainability/run-lint branch from a8a5be0 to b65b20f Compare January 7, 2022 16:30
@mrauhu
Copy link
Contributor Author

mrauhu commented Jan 7, 2022

Rebased onto main branch.

@eirslett eirslett merged commit 00a32cf into storybookjs:main Jan 7, 2022
@IanVS
Copy link
Member

IanVS commented Jan 7, 2022

We will need to change the SHA in .git-blame-ignore-revs now, since this was squash-merged.

@mrauhu
Copy link
Contributor Author

mrauhu commented Jan 7, 2022

We will need to change the SHA in .git-blame-ignore-revs now, since this was squash-merged.

@IanVS fixed in #198.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants