StackOverflow - javascript, eslint, airbnb-js-styleguide, eslintrc
Airbnb style guide:rules for naming conventions not working
According to the Airbnb doc, this is the best practice for naming objects // bad const OBJEcttsssss = {}; // good const thisIsMyObject = {}; But which rule I need to add to achieve the same Here is my .eslintrc.json { "extends": "airbnb", "env": { "browser": true, "node": true }, "rules":{ "camelcase":true } } I've added camelcase rule but it didn't work Also, I can't find the rules belong to the following 1) Variable naming 2) Function naming 3) Class Naming
Was this helpful?
Related Articles
Have a different question?
Can't find the answer you're looking for? Submit your own question to our community.
🛎️ Get Weekly OTA Fixes
New answers, vendor issues, and updates — straight to your inbox.