npm / addons-linter
addons-linter
What changed in addons-linter 2 to 10, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.
8 breaking1 new APIs and options8 behavior and defaults9 tooling7 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initaddons-linter 1013 changes
Breaking changes 4
The description field is limited to 250 characters.
Additional validation applies to static themes CSS gradients properties, affecting which themes pass linting.
Node 22 is now used by default.
The obsolete openDialog rules have been removed.
Behavior and default changes 1
Imports API JSONSchema data from Gecko 154.0b4, which can affect validation of WebExtensions APIs.
Tooling 4
Imported Firefox 158 schema data, allowing addons-linter to recognize its schema.
Imported schema data for Firefox 155, 156, and 157, adding support for these Firefox versions in addons-linter.
Schema data for Firefox 153.0b2 is imported, updating the browser data available to addons-linter.
Adds Firefox 149 schema data, allowing addons-linter to use that data when linting.
Fixes and other changes 4
Usage of userScripts.onBeforeScript in MV2 no longer triggers a warning.
Fixed support for using update_url with enterprise add-ons.
Replacement values in l10n strings are no longer re-scanned.
Allows a placeholder to be replaced more than once in an l10n string.
addons-linter 98 changes
Behavior and default changes 3
JavaScript is parsed using ECMA_VERSION 16.
The CLI and API now use the same default config.
JavaScript is now parsed using ECMA version 15.
Tooling 4
Clarified the linter message emitted for the background.service_worker manifest property.
Imported schema data for Firefox 148b5, affecting manifest validation for that target.
Schema data for Firefox 145 and 146 was imported, affecting linting against those browser versions.
addons-linter migrates to ESLint v9; the release notes say no breakages are expected.
Fixes and other changes 1
Fixed a failure when manifest versions are non-integer.
addons-linter 85 changes
Breaking changes 1
Renames the
EXTENSION_ID_REQUIREDdiagnostic toADDON_ID_REQUIRED.
New APIs and options 1
Emits a warning when the add-on ID is missing from the manifest file.
Behavior and default changes 2
Data collection permissions are enabled by default.
The data collection notice is now a warning.
Fixes and other changes 1
Data collection is validated only when the add-on is an extension.
addons-linter 71 changes
Breaking changes 1
Node 18 is now the minimum officially supported Node.js version.
addons-linter 62 changes
Breaking changes 1
Node 16 is now the minimum officially supported Node.js version.
Behavior and default changes 1
MV3 extensions are now allowed by default.
addons-linter 51 changes
Behavior and default changes 1
Node 14 is now used by default for building and releasing the npm package, replacing Node 12.
addons-linter 32 changes
Breaking changes 1
The minimum Node.js version is now 12.
Fixes and other changes 1
Error messages are improved when JavaScript syntax errors occur.
addons-linter 21 changes
Tooling 1
ESLint was upgraded from v5 to v7, enabling support for optional chaining syntax.