DEV Community

Discussion on: JavaScript Naming Conventions are Important

Collapse
 
craigrich profile image
Craig Richardson-Binks

Great stuff! Are there any recommendations on ESlint rules/plugins to enforce the naming conventions?

Collapse
 
what1s1ove profile image
Vladyslav Zubko • Edited

Hey @craigrich !
Thank you!

Are there any recommendations on ESlint rules/plugins to enforce the naming conventions?

To be honest, this is something that needs to be controlled by oneself. I've seen some rules like "arrays should be in plural form," but they worked very poorly. There are better options, for example, some libraries like Reatom provide their ESLint plugins, and they are quite good. But there are very few of them.

In general, most of the time, namings need to be controlled by oneself. That's why they are so important.