stuyy / slappey

Discord Bot Project Generator
219 stars 50 forks source link

Files should be named in kebab-case #28

Closed JustStanix closed 3 years ago

JustStanix commented 3 years ago

PascalCase - Should only be used for classes. camelCase - Should be used for variables, functions, etc. snake_case/SNAKE_CASE - Capitalized is usually used for constants and non capitalized for database fields. kebab-case - Used in URLs and files. Super easy to read which makes it so convenient.

One of the reasons why this should be changed is because eslint-plugin-unicorn will throw validation errors in the file and will not allow prettier or eslint to work until the issue is resolved.

stuyy commented 3 years ago

I'm planning on updating the package, so I will take this into consideration. Thank you.