Linter: apply all recommended biome settings

Enforces previously-skipped useArrowFunction check
This commit is contained in:
Lovell Fuller
2025-11-03 21:14:45 +00:00
parent 09d5aa8cfa
commit 4f9f8179a6
66 changed files with 1823 additions and 1910 deletions

View File

@@ -8,8 +8,8 @@ const { describe, it } = require('node:test');
const assert = require('node:assert');
const fixtures = require('../fixtures');
describe('Modulate', function () {
describe('Invalid options', function () {
describe('Modulate', () => {
describe('Invalid options', () => {
[
null,
undefined,
@@ -25,9 +25,9 @@ describe('Modulate', function () {
{ hue: null },
{ lightness: '+50' },
{ lightness: null }
].forEach(function (options) {
it('should throw', function () {
assert.throws(function () {
].forEach((options) => {
it('should throw', () => {
assert.throws(() => {
sharp(fixtures.inputJpg).modulate(options);
});
});