Skip to content

Commit d5310fe

Browse files
committed
Fix lint errors
1 parent f56f51d commit d5310fe

4 files changed

Lines changed: 3 additions & 4 deletions

File tree

src/lib/klipy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const API_KEY = KLIPY_API_KEY;
88
export default class Klipy extends GifProvider {
99
constructor() {
1010
super();
11-
this._customerId = null;
11+
this._customerId = undefined;
1212
}
1313

1414
async _getCustomerId() {

src/main.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,6 @@ function getFormattedGif(gif) {
368368
fullSizeUrl = xs.gif.url;
369369
}
370370

371-
372371
const height = Math.floor((sm.gif.height * MAX_GIF_WIDTH) / sm.gif.width);
373372

374373
// Generate a random pastel colour to use as an image placeholder

src/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"activeTab",
2020
"storage"
2121
],
22-
"optional_host_permissions": [
22+
"optional_host_permissions": [
2323
"http://*/*",
2424
"https://*/*",
2525
"<all_urls>"

webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import path from 'node:path';
22
import process from 'node:process';
33
import { fileURLToPath } from 'node:url';
4-
import 'dotenv/config';
54
import CopyPlugin from 'copy-webpack-plugin';
65
import webpack from 'webpack';
6+
import 'dotenv/config';
77

88
const __filename = fileURLToPath(import.meta.url);
99
const __dirname = path.dirname(__filename);

0 commit comments

Comments
 (0)