Update dependency eslint-plugin-import to v2.25.2 (#1555)

* Update dependency eslint-plugin-import to v2.25.2

Signed-off-by: Renovate Bot <bot@renovateapp.com>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Make type imports more explicit

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Enforce use of type imports

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
renovate[bot] 2021-10-17 18:45:58 +02:00 committed by GitHub
parent fc3a3fa1a9
commit 2abe40ef1d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
264 changed files with 567 additions and 504 deletions

View file

@ -5,7 +5,8 @@
*/
import { store } from '..'
import { ApiUrlActionType, ApiUrlObject, SetApiUrlAction } from './types'
import type { ApiUrlObject, SetApiUrlAction } from './types'
import { ApiUrlActionType } from './types'
export const setApiUrl = (state: ApiUrlObject): void => {
store.dispatch({

View file

@ -4,8 +4,9 @@
* SPDX-License-Identifier: AGPL-3.0-only
*/
import { Reducer } from 'redux'
import { ApiUrlActions, ApiUrlActionType, ApiUrlObject } from './types'
import type { Reducer } from 'redux'
import type { ApiUrlActions, ApiUrlObject } from './types'
import { ApiUrlActionType } from './types'
export const initialState: ApiUrlObject = {
apiUrl: ''

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: AGPL-3.0-only
*/
import { Action } from 'redux'
import type { Action } from 'redux'
export enum ApiUrlActionType {
SET_API_URL = 'api-url/set'