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

feat: add linters #60

Merged
merged 10 commits into from
Aug 18, 2023
Merged

feat: add linters #60

merged 10 commits into from
Aug 18, 2023

Conversation

pavanjoshi914
Copy link
Contributor

@pavanjoshi914 pavanjoshi914 commented Aug 10, 2023

add prettier
add husky to create pre commit hooks
add lint-staged pre commit hook for prettier
move jsx file to examples folder
add eslint
add eslint typescript parser
add config plugin to run eslint and prettier serially

Fixes #43
signed-off-by: pavan joshi [email protected]

create rules for prettier according to the files in codebase
add husky pre commit hook
signed-off-by: pavan joshi <[email protected]>
change lint-staged rules for prettier
signed-off-by: pavan joshi <[email protected]>
@pavanjoshi914
Copy link
Contributor Author

@rolznz

@rolznz
Copy link
Contributor

rolznz commented Aug 14, 2023

@pavanjoshi914 the changes look good to me. But surely there will be more file changes after we actually run those commands (for example, running prettier)? did the commit checks pass for you?

Can you merge master into this branch and check if the CI passes, and make sure the CI runs the correct checks?

@rolznz
Copy link
Contributor

rolznz commented Aug 18, 2023

@pavanjoshi914 please also add a new PR off of this branch and run the linting so we can see the changes

@rolznz rolznz enabled auto-merge August 18, 2023 09:42
@rolznz rolznz merged commit 59b898a into getAlby:master Aug 18, 2023
1 check passed
@pavanjoshi914 pavanjoshi914 deleted the add-linting branch May 29, 2024 05:04
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.

Add prettier and linting
2 participants