Skip to content

Commit

Permalink
chore: fix linting rules
Browse files Browse the repository at this point in the history
  • Loading branch information
chmelevskij committed Dec 19, 2021
1 parent b1abc77 commit f837eee
Show file tree
Hide file tree
Showing 18 changed files with 41 additions and 41 deletions.
48 changes: 24 additions & 24 deletions src/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -338,109 +338,109 @@ function startProcess() {
break;
case 'help':
import("./tabs/help").then(({ help }) =>
help.initialize(content_ready)
help.initialize(content_ready),
);
break;
case 'auxiliary':
import("./tabs/auxiliary").then(({ auxiliary }) =>
auxiliary.initialize(content_ready)
auxiliary.initialize(content_ready),
);
break;
case 'adjustments':
import("./tabs/adjustments").then(({ adjustments }) =>
adjustments.initialize(content_ready)
adjustments.initialize(content_ready),
);
break;
case 'ports':
import("./tabs/ports").then(({ ports }) =>
ports.initialize(content_ready)
ports.initialize(content_ready),
);
break;
case 'led_strip':
import("./tabs/led_strip").then(({ led_strip }) =>
led_strip.initialize(content_ready)
led_strip.initialize(content_ready),
);
break;
case 'failsafe':
import("./tabs/failsafe").then(({ failsafe }) =>
failsafe.initialize(content_ready)
failsafe.initialize(content_ready),
);
break;
case 'transponder':
import("./tabs/transponder").then(({ transponder }) =>
transponder.initialize(content_ready)
transponder.initialize(content_ready),
);
break;
case 'osd':
import("./tabs/osd").then(({ osd }) =>
osd.initialize(content_ready)
osd.initialize(content_ready),
);
break;
case 'vtx':
import("./tabs/vtx").then(({ vtx }) =>
vtx.initialize(content_ready)
vtx.initialize(content_ready),
);
break;
case 'power':
import("./tabs/power").then(({ power }) =>
power.initialize(content_ready)
power.initialize(content_ready),
);
break;
case 'setup':
import("./tabs/setup").then(({ setup }) =>
setup.initialize(content_ready)
setup.initialize(content_ready),
);
break;
case 'setup_osd':
import("./tabs/setup_osd").then(({ setup_osd }) =>
setup_osd.initialize(content_ready)
setup_osd.initialize(content_ready),
);
break;
case 'configuration':
import(
"./tabs/configuration"
).then(({ configuration }) =>
configuration.initialize(content_ready)
configuration.initialize(content_ready),
);
break;
case 'pid_tuning':
import("./tabs/pid_tuning").then(({ pid_tuning }) =>
pid_tuning.initialize(content_ready)
pid_tuning.initialize(content_ready),
);
break;
case 'receiver':
import("./tabs/receiver").then(({ receiver }) =>
receiver.initialize(content_ready)
receiver.initialize(content_ready),
);
break;
case 'servos':
import("./tabs/servos").then(({ servos }) =>
servos.initialize(content_ready)
servos.initialize(content_ready),
);
break;
case 'gps':
import("./tabs/gps").then(({ gps }) =>
gps.initialize(content_ready)
gps.initialize(content_ready),
);
break;
case 'motors':
import("./tabs/motors").then(({ motors }) =>
motors.initialize(content_ready)
motors.initialize(content_ready),
);
break;
case 'sensors':
import("./tabs/sensors").then(({ sensors }) =>
sensors.initialize(content_ready)
sensors.initialize(content_ready),
);
break;
case 'logging':
import("./tabs/logging").then(({ logging }) =>
logging.initialize(content_ready)
logging.initialize(content_ready),
);
break;
case 'onboard_logging':
import("./tabs/onboard_logging").then(({ onboard_logging }) =>
onboard_logging.initialize(content_ready)
onboard_logging.initialize(content_ready),
);
break;
case 'cli':
Expand All @@ -449,18 +449,18 @@ function startProcess() {
GUI.timeout_add('wait_for_msp_finished', () => {
MSP.disconnect_cleanup();
import("./tabs/cli").then(({ cli }) =>
cli.initialize(content_ready)
cli.initialize(content_ready),
);
}, timeout);
} else {
import("./tabs/cli").then(({ cli }) =>
cli.initialize(content_ready)
cli.initialize(content_ready),
);
}
break;
case 'presets':
import("../tabs/presets/presets").then(({ presets }) =>
presets.initialize(content_ready)
presets.initialize(content_ready),
);
break;

Expand Down
2 changes: 1 addition & 1 deletion src/js/tabs/adjustments.js
Original file line number Diff line number Diff line change
Expand Up @@ -325,5 +325,5 @@ adjustments.adjust_template = function () {

window.TABS.adjustments = adjustments;
export {
adjustments
adjustments,
};
2 changes: 1 addition & 1 deletion src/js/tabs/auxiliary.js
Original file line number Diff line number Diff line change
Expand Up @@ -572,5 +572,5 @@ auxiliary.cleanup = function (callback) {

window.TABS.auxiliary = auxiliary;
export {
auxiliary
auxiliary,
};
2 changes: 1 addition & 1 deletion src/js/tabs/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -537,5 +537,5 @@ cli.cleanup = function (callback) {

window.TABS.cli = cli;
export {
cli
cli,
};
2 changes: 1 addition & 1 deletion src/js/tabs/failsafe.js
Original file line number Diff line number Diff line change
Expand Up @@ -438,5 +438,5 @@ failsafe.cleanup = function (callback) {

window.TABS.failsafe = failsafe;
export {
failsafe
failsafe,
};
2 changes: 1 addition & 1 deletion src/js/tabs/gps.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,5 +166,5 @@ gps.cleanup = function (callback) {

window.TABS.gps = gps;
export {
gps
gps,
};
2 changes: 1 addition & 1 deletion src/js/tabs/led_strip.js
Original file line number Diff line number Diff line change
Expand Up @@ -1152,5 +1152,5 @@ led_strip.cleanup = function (callback) {

window.TABS.led_strip = led_strip;
export {
led_strip
led_strip,
};
2 changes: 1 addition & 1 deletion src/js/tabs/logging.js
Original file line number Diff line number Diff line change
Expand Up @@ -327,5 +327,5 @@ logging.cleanup = function (callback) {
window.TABS.logging = logging;

export {
logging
logging,
};
2 changes: 1 addition & 1 deletion src/js/tabs/motors.js
Original file line number Diff line number Diff line change
Expand Up @@ -1234,5 +1234,5 @@ motors.cleanup = function (callback) {

window.TABS.motors = motors;
export {
motors
motors,
};
2 changes: 1 addition & 1 deletion src/js/tabs/onboard_logging.js
Original file line number Diff line number Diff line change
Expand Up @@ -697,5 +697,5 @@ onboard_logging.mscRebootFailedCallback = function () {

window.TABS.onboard_logging = onboard_logging;
export {
onboard_logging
onboard_logging,
};
2 changes: 1 addition & 1 deletion src/js/tabs/osd.js
Original file line number Diff line number Diff line change
Expand Up @@ -3295,5 +3295,5 @@ osd.cleanup = function(callback) {

window.TABS.osd = osd;
export {
osd
osd,
};
2 changes: 1 addition & 1 deletion src/js/tabs/pid_tuning.js
Original file line number Diff line number Diff line change
Expand Up @@ -3399,5 +3399,5 @@ pid_tuning.expertModeChanged = function(expertModeEnabled) {

window.TABS.pid_tuning = pid_tuning;
export {
pid_tuning
pid_tuning,
};
2 changes: 1 addition & 1 deletion src/js/tabs/receiver.js
Original file line number Diff line number Diff line change
Expand Up @@ -945,5 +945,5 @@ function updateInterpolationView() {

window.TABS.receiver = receiver;
export {
receiver
receiver,
};
2 changes: 1 addition & 1 deletion src/js/tabs/sensors.js
Original file line number Diff line number Diff line change
Expand Up @@ -480,5 +480,5 @@ sensors.cleanup = function (callback) {

window.TABS.sensors = sensors;
export {
sensors
sensors,
};
2 changes: 1 addition & 1 deletion src/js/tabs/servos.js
Original file line number Diff line number Diff line change
Expand Up @@ -241,5 +241,5 @@ servos.cleanup = function (callback) {

window.TABS.servos = servos;
export {
servos
servos,
};
2 changes: 1 addition & 1 deletion src/js/tabs/setup_osd.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,5 @@ setup_osd.cleanup = function (callback) {

window.TABS.setup_osd = setup_osd;
export {
setup_osd
setup_osd,
};
2 changes: 1 addition & 1 deletion src/js/tabs/transponder.js
Original file line number Diff line number Diff line change
Expand Up @@ -329,5 +329,5 @@ transponder.cleanup = function(callback) {

window.TABS.transponder = transponder;
export {
transponder
transponder,
};
2 changes: 1 addition & 1 deletion src/js/tabs/vtx.js
Original file line number Diff line number Diff line change
Expand Up @@ -1020,5 +1020,5 @@ vtx.cleanup = function (callback) {

window.TABS.vtx = vtx;
export {
vtx
vtx,
};

0 comments on commit f837eee

Please sign in to comment.