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

Enforce linting on code and file naming structure #1

Open
dreking opened this issue Feb 22, 2022 · 0 comments
Open

Enforce linting on code and file naming structure #1

dreking opened this issue Feb 22, 2022 · 0 comments
Labels
good first issue Good for newcomers
Milestone

Comments

@dreking
Copy link
Collaborator

dreking commented Feb 22, 2022

Is your feature request related to a problem? Please describe.

No, It is very important to reduce programmatic and stylistic code errors by finding and fixing them early and also improving code quality.

Describe the solution you'd like

Introduce eslint unicorn to enforce:

  • kabab-case file naming structure
  • error exception on empty files

Introduce prettier to format files gracefully

  • add .prettierrc file and define styling rules
  • extend the rules to eslint configuration file

This approach will help contributors improve overall code quality as well as reduce programmatic and stylistic errors.

Describe alternatives you've considered

Additional context

@dreking dreking added the good first issue Good for newcomers label Feb 22, 2022
@dreking dreking self-assigned this Feb 22, 2022
@dreking dreking added this to the DD1 milestone Feb 22, 2022
@dreking dreking removed their assignment Feb 23, 2022
@dreking dreking changed the title Enforce file naming structure Enforce linting on code and file naming structure Feb 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant