https://biomejs.dev/linter/rules/no-redundant-use-strict/
I have the following IIFE
(() => {
"use strict";
})();
and biome suggest that it's Redundant use strict directive
. But I didn't see an explanation regarding this case in the documentation, and after searching on Google I haven't found much discussion on this topic. Can anyone teach me why this is redundant, and probably add it to the document so that the others encountering the same issue would feel less confused? Your explanation would be greatly appreciated!
case for arrow function
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too