chore(deps): update dependency eslint-plugin-unicorn to v70 - abandoned (#29684)

* chore(deps): update dependency eslint-plugin-unicorn to v70

* fix: linting

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Dietzler <mail@ddietzler.dev>
This commit is contained in:
renovate[bot] 2026-07-20 23:47:14 -04:00 committed by GitHub
parent 8061a2e5ff
commit df970da59e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
266 changed files with 1260 additions and 1212 deletions

View file

@ -16,11 +16,13 @@ export const getOutputDimensions = (
}
for (const edit of edits) {
if (edit.action === AssetEditAction.Rotate) {
const angleDegrees = edit.parameters.angle;
if (angleDegrees === 90 || angleDegrees === 270) {
[width, height] = [height, width];
}
if (edit.action !== AssetEditAction.Rotate) {
continue;
}
const angleDegrees = edit.parameters.angle;
if (angleDegrees === 90 || angleDegrees === 270) {
[width, height] = [height, width];
}
}