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

TEMPLATE TASK: DUPLICATE TO ADD TO INBOX #161

Open
forecast bot opened this issue Mar 3, 2022 · 0 comments
Open

TEMPLATE TASK: DUPLICATE TO ADD TO INBOX #161

forecast bot opened this issue Mar 3, 2022 · 0 comments

Comments

@forecast
Copy link

forecast bot commented Mar 3, 2022

Problem: [example] There is a discrepancy in our file naming on backends in regards to using camelCase or kebab-case.

Product: [example] We want to implement an Eslint rule that checks whether the file names are all kebab-case, and add it to our backend template

Reasoning: [example] kebab-case is the go-to standard for Node.js development and eslint automates enforcement of the standard, such that no onboarding is needed

Additional details: [example] There seems to be a rule online for this: https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/filename-case.md

Also, please note that React component files are to be named in PascalCase as per React standards.

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

No branches or pull requests

0 participants