StackOverflow - javascript, eslint, eslint-config-airbnb, airbnb-js-styleguide
ESLint with Airbnb style guide does not work for all rules
Airbnb style guide is a recommendation on how to write code. ESLint is a tool created by a separate team, specifically Nicholas C. Zakas in the first place. So the recommendation utilizes ESLint to automate checks for some of the rules, but not all. Some Airbnb style guide rules have trailing eslint: rule-name , which indicates if it is checked or not. All 3 rules from the topic don't have it. Also there is a page that elaborates on new rules addition. It states: "As of 2020, we only accept rules related to new ECMAScript features. We prefer that new rules be implemented in plugins".
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.