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

Improve local developer experience #1

Open
Frodigo opened this issue Oct 19, 2021 · 0 comments
Open

Improve local developer experience #1

Frodigo opened this issue Oct 19, 2021 · 0 comments
Assignees
Labels
environment Improvements for developer environment

Comments

@Frodigo
Copy link
Owner

Frodigo commented Oct 19, 2021

Local dev env does not help to create code. I would like to see some automation like code autoformatting, lining, etc.

Solution

Add necessary config and script and improve the developer experience.

User story

  • As a developer, I want to:
    1. have an eslint configuration and npm script that allows running a linter
      1. Consider using jest to run eslint
    2. have a prettier config and npm script that allows running code autoformatting
    3. have a husky config and pre-commit hook that:
      1. run eslint
      2. run prettier
      3. run unit tests
    4. add types to my code using TypeScript

Additional context
Any other ideas are appreciated.

  • consider add npm-run-all package and eslint-prettier-config
@Frodigo Frodigo added the environment Improvements for developer environment label Oct 19, 2021
@Frodigo Frodigo self-assigned this Oct 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
environment Improvements for developer environment
Projects
None yet
Development

No branches or pull requests

1 participant