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

@@ -66,7 +66,7 @@ describe('Text to image', function () {
const text = sharp({
text: {
text: 'Hello, world!',
dpi: dpi
dpi
}
});
text.toFile(output, function (err, info) {
@@ -87,7 +87,7 @@ describe('Text to image', function () {
text: {
text: '<span foreground="red" font="100">red</span><span font="50" background="cyan">blue</span>',
rgba: true,
dpi: dpi
dpi
}
});
text.toFile(output, function (err, info) {
@@ -146,7 +146,7 @@ describe('Text to image', function () {
text: {
text: '<span background="cyan">cool</span>',
font: 'sans 30',
dpi: dpi,
dpi,
rgba: true
}
},