Wednesday, 8 July, 2020 UTC


When an add-on is submitted to Firefox for validation, the add-ons linter checks its code and displays relevant errors, warnings, or friendly messages for the developer to review. JavaScript is constantly evolving, and when the linter lags behind the language, developers may see syntax errors for code that is generally considered acceptable. These errors block developers from getting their add-on signed or listed on
On July 2, the linter was updated from ESLint 5.16 to ESLint 7.0 for JavaScript validation. This upgrades linter support to most ECMAScript 2020 syntax, though it is still slightly behind the current version of ESLint (7.4.0). We will post again in this blog the next time we make an update.
Want to help us keep the linter up-to-date? We welcome code contributions and encourage developers to report bugs found in our validation process.
The post Additional JavaScript syntax support in add-on developer tools appeared first on Mozilla Add-ons Blog.