Skip to content

Commit 740872d

Browse files
author
Christopher Willis-Ford
committed
fix lint problems
1 parent ddd1156 commit 740872d

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/main/ScratchDesktopTelemetry.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ class ScratchDesktopTelemetry {
7777
}
7878

7979
_buildMetadata (metadata) {
80-
const { projectName, language, ...codeMetadata } = metadata;
80+
const {projectName, language, ...codeMetadata} = metadata;
8181
return defaultsDeep({
8282
projectName,
8383
language,

src/main/telemetry/TelemetryClient.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ class TelemetryClient {
8787
this._store = new ElectronStore({
8888
name: storeName
8989
});
90-
console.log(`Telemetry configuration storage path: ${this._store.path}`);
9190

9291
if (clientID) {
9392
this.clientID = clientID;
@@ -263,6 +262,7 @@ class TelemetryClient {
263262
if (packetInfo.attempts < this._deliveryAttemptLimit) {
264263
this._packetQueue.push(packetInfo);
265264
} else {
265+
// eslint-disable-next-line no-console
266266
console.warn('Dropping packet which exceeded retry limit', packet);
267267
}
268268
}

src/renderer/about.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react';
22
import ReactDOM from 'react-dom';
3-
import {author, productName, version} from '../../package.json';
3+
import {productName, version} from '../../package.json';
44

55
import logo from '../icon/ScratchDesktop.svg';
66

webpack.makeConfig.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const UglifyJsPlugin = require('uglifyjs-webpack-plugin');
77
const isProduction = (process.env.NODE_ENV === 'production');
88

99
const electronVersion = childProcess.execSync(`${electronPath} --version`, {encoding: 'utf8'}).trim();
10-
console.log(`Targeting Electron ${electronVersion}`);
10+
console.log(`Targeting Electron ${electronVersion}`); // eslint-disable-line no-console
1111

1212
const makeConfig = function (options) {
1313
// eslint-disable-next-line no-console

0 commit comments

Comments
 (0)