Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
eslint: Enable more lints from
@wordpress/eslint-plugin
(#39000)
- no-alert: Enabled for new instances. Existing instances are ignored, some with todo comments. - no-bitwise: Most existing instances were intentional. Replaced one `| 0` with `Math.floor()`. - no-fallthrough: One error detected and fixed. Added fall-through comments to the rest. - no-useless-computed-key: Auto-fixed them all. - no-useless-return: Auto-fixed, then had to clean up some places where it left empty blocks or otherwise exposed weird code flows. Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/10508553954 Upstream-Ref: Automattic/jetpack@befb138
- Loading branch information