Upgrade semistandard, appease new linter rules

This commit is contained in:
Lovell Fuller
2023-09-26 21:25:15 +01:00
parent 854ed65016
commit a41c62be2b
11 changed files with 44 additions and 44 deletions

View File

@@ -646,7 +646,7 @@ describe('Resize dimensions', function () {
].forEach(function (kernel) {
it(`kernel ${kernel}`, function (done) {
sharp(fixtures.inputJpg)
.resize(320, null, { kernel: kernel })
.resize(320, null, { kernel })
.toBuffer(function (err, data, info) {
if (err) throw err;
assert.strictEqual('jpeg', info.format);