mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 02:05:37 +02:00
We only used two rules from the plugin which can both easily be replaced nowadays: - `mozilla/avoid-removeChild` is equal to the already active `unicorn/prefer-dom-node-remove` rule; please see [1] and [2]. - `mozilla/import-globals` is mostly obsolete nowadays ever since we removed the Firefox extension code from this repository and we eliminated most globals usage. The three remaining occurrences can be replaced with explicit `/* globals */` comments that we already use elsewhere, which overall is also more consistent. [1] https://firefox-source-docs.mozilla.org/code-quality/lint/linters/eslint-plugin-mozilla/rules/avoid-removeChild.html [2] https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-dom-node-remove.md |
||
---|---|---|
.. | ||
chromium |