diff options
author | 2021-07-30 10:54:54 +0200 | |
---|---|---|
committer | 2021-07-30 14:24:54 +0530 | |
commit | f4b4416ea52d564bc2dbe543a82084ed98843ccc (patch) | |
tree | 7ca6b23571c86458a6b799746c91a7191de02715 /src/containers/auth | |
parent | 5.6.1-nightly.8 [skip ci] (diff) | |
download | ferdium-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/containers/auth')
-rw-r--r-- | src/containers/auth/SetupAssistantScreen.js | 2 | ||||
-rw-r--r-- | src/containers/auth/SignupScreen.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/containers/auth/SetupAssistantScreen.js b/src/containers/auth/SetupAssistantScreen.js index eaf3fda8a..d14085f63 100644 --- a/src/containers/auth/SetupAssistantScreen.js +++ b/src/containers/auth/SetupAssistantScreen.js | |||
@@ -102,7 +102,7 @@ export default @inject('stores', 'actions') @observer class SetupAssistantScreen | |||
102 | render() { | 102 | render() { |
103 | return ( | 103 | return ( |
104 | <SetupAssistant | 104 | <SetupAssistant |
105 | onSubmit={config => this.setupServices(config)} | 105 | onSubmit={(config) => this.setupServices(config)} |
106 | services={this.services} | 106 | services={this.services} |
107 | embed={false} | 107 | embed={false} |
108 | isSettingUpServices={this.state.isSettingUpServices} | 108 | isSettingUpServices={this.state.isSettingUpServices} |
diff --git a/src/containers/auth/SignupScreen.js b/src/containers/auth/SignupScreen.js index eeab63a0c..38c5dfb43 100644 --- a/src/containers/auth/SignupScreen.js +++ b/src/containers/auth/SignupScreen.js | |||
@@ -24,7 +24,7 @@ export default @inject('stores', 'actions') @observer class SignupScreen extends | |||
24 | 24 | ||
25 | return ( | 25 | return ( |
26 | <Signup | 26 | <Signup |
27 | onSubmit={values => this.onSignup(values)} | 27 | onSubmit={(values) => this.onSignup(values)} |
28 | isSubmitting={stores.user.signupRequest.isExecuting} | 28 | isSubmitting={stores.user.signupRequest.isExecuting} |
29 | loginRoute={stores.user.loginRoute} | 29 | loginRoute={stores.user.loginRoute} |
30 | changeServerRoute={stores.user.changeServerRoute} | 30 | changeServerRoute={stores.user.changeServerRoute} |