aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/services/tabs
diff options
context:
space:
mode:
authorLibravatar Markus Hatvan <markus_hatvan@aon.at>2021-07-30 10:54:54 +0200
committerLibravatar GitHub <noreply@github.com>2021-07-30 14:24:54 +0530
commitf4b4416ea52d564bc2dbe543a82084ed98843ccc (patch)
tree7ca6b23571c86458a6b799746c91a7191de02715 /src/components/services/tabs
parent5.6.1-nightly.8 [skip ci] (diff)
downloadferdium-app-f4b4416ea52d564bc2dbe543a82084ed98843ccc.tar.gz
ferdium-app-f4b4416ea52d564bc2dbe543a82084ed98843ccc.tar.zst
ferdium-app-f4b4416ea52d564bc2dbe543a82084ed98843ccc.zip
chore: migrate from tslint to @typescript-eslint (#1706)
- update .eslintrc to work for .js and .ts - update devDependencies - lint properly both root /src and nested /packages - update webhint recommended setting for tsconfig.json to shrink output - Manage all eslint rules from the repo root - escape single quotes in scripts to please windows build Co-authored-by: Vijay A <avijayr@protonmail.com>
Diffstat (limited to 'src/components/services/tabs')
-rw-r--r--src/components/services/tabs/Tabbar.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/components/services/tabs/Tabbar.js b/src/components/services/tabs/Tabbar.js
index db7a69bfc..0f608c415 100644
--- a/src/components/services/tabs/Tabbar.js
+++ b/src/components/services/tabs/Tabbar.js
@@ -33,7 +33,7 @@ export default @observer class TabBar extends Component {
33 reorder({ oldIndex, newIndex }); 33 reorder({ oldIndex, newIndex });
34 }; 34 };
35 35
36 shouldPreventSorting = event => event.target.tagName !== 'LI'; 36 shouldPreventSorting = (event) => event.target.tagName !== 'LI';
37 37
38 toggleService = ({ serviceId, isEnabled }) => { 38 toggleService = ({ serviceId, isEnabled }) => {
39 const { updateService } = this.props; 39 const { updateService } = this.props;
@@ -95,10 +95,10 @@ export default @observer class TabBar extends Component {
95 toggleNotifications={toggleNotifications} 95 toggleNotifications={toggleNotifications}
96 toggleAudio={toggleAudio} 96 toggleAudio={toggleAudio}
97 deleteService={deleteService} 97 deleteService={deleteService}
98 disableService={args => this.disableService(args)} 98 disableService={(args) => this.disableService(args)}
99 enableService={args => this.enableService(args)} 99 enableService={(args) => this.enableService(args)}
100 hibernateService={args => this.hibernateService(args)} 100 hibernateService={(args) => this.hibernateService(args)}
101 wakeUpService={args => this.wakeUpService(args)} 101 wakeUpService={(args) => this.wakeUpService(args)}
102 openSettings={openSettings} 102 openSettings={openSettings}
103 distance={20} 103 distance={20}
104 axis="y" 104 axis="y"