-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
What you would like to change/add
I'd like to proposal a differing opinion from Airbnb's javascript style guide. In their style guide they mention that filenames should match exactly the default export.
But I think that all JavaScript related directories and files should be lowercase and piped.
Why you would like to change/add this
I think it is just a cleaner naming conventions, and how I've always done it in my own projects.
Examples
Airbnb
// LangleyFoxall.js
const LangleyFoxall = () => null
export default LangleyFoxallPiped
// langley-foxall.js
const LangleyFoxall = () => null
export default LangleyFoxallChecklist
- I have checked that this is not a duplicate issue.
Sources
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels