ynshung / better-yt-shorts

Playback, volume, timestamp controls and more on YouTube Shorts.
GNU General Public License v3.0
240 stars 43 forks source link

Partial code refactor for lint compatibility #165

Closed tiagohconte closed 11 months ago

tiagohconte commented 11 months ago

PR to implement changes that maintain the current functionality while preparing for easier integration with lint tools in the future.

ynshung commented 11 months ago

Is this relevant to #152? Since the linters and formatters are already added I afraid it will conflict with this PR once the fixes are committed there

tiagohconte commented 11 months ago

@ynshung My idea here was to separate the code changes from the linter addition. This way, we can just rebase #152 with these changes. I used the same configuration for Eslint and Prettier used there to make these changes.

ynshung commented 11 months ago

I see, thanks for the clarification and the idea!

tiagohconte commented 11 months ago

I renamed the PR. It solves a lot of type errors :satisfied: