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

@ -4,9 +4,10 @@
* SPDX-License-Identifier: AGPL-3.0-only
*/
import { NoteDetails } from './types'
import type { NoteDetails } from './types'
import { DateTime } from 'luxon'
import { NoteTextDirection, NoteType, SlideOptions } from '../../components/common/note-frontmatter/types'
import type { SlideOptions } from '../../components/common/note-frontmatter/types'
import { NoteTextDirection, NoteType } from '../../components/common/note-frontmatter/types'
export const initialSlideOptions: SlideOptions = {
transition: 'zoom',

View file

@ -5,14 +5,14 @@
*/
import { store } from '..'
import { NoteDto } from '../../api/notes/types'
import {
NoteDetailsActionType,
import type { NoteDto } from '../../api/notes/types'
import type {
SetNoteDetailsFromServerAction,
SetNoteDocumentContentAction,
UpdateNoteTitleByFirstHeadingAction,
UpdateTaskListCheckboxAction
} from './types'
import { NoteDetailsActionType } from './types'
/**
* Sets the content of the current note, extracts and parses the frontmatter and extracts the markdown content part.

View file

@ -4,15 +4,14 @@
* SPDX-License-Identifier: AGPL-3.0-only
*/
import { Reducer } from 'redux'
import { PresentFrontmatterExtractionResult } from '../../components/common/note-frontmatter/types'
import {
createNoteFrontmatterFromYaml,
NoteFrontmatter
} from '../../components/common/note-frontmatter/note-frontmatter'
import { NoteDetails, NoteDetailsActions, NoteDetailsActionType } from './types'
import type { Reducer } from 'redux'
import type { PresentFrontmatterExtractionResult } from '../../components/common/note-frontmatter/types'
import type { NoteFrontmatter } from '../../components/common/note-frontmatter/note-frontmatter'
import { createNoteFrontmatterFromYaml } from '../../components/common/note-frontmatter/note-frontmatter'
import type { NoteDetails, NoteDetailsActions } from './types'
import { NoteDetailsActionType } from './types'
import { extractFrontmatter } from '../../components/common/note-frontmatter/extract-frontmatter'
import { NoteDto } from '../../api/notes/types'
import type { NoteDto } from '../../api/notes/types'
import { initialState } from './initial-state'
import { DateTime } from 'luxon'

View file

@ -4,11 +4,11 @@
* SPDX-License-Identifier: AGPL-3.0-only
*/
import { DateTime } from 'luxon'
import { Action } from 'redux'
import { NoteFrontmatter } from '../../components/common/note-frontmatter/note-frontmatter'
import { NoteDto } from '../../api/notes/types'
import { RendererFrontmatterInfo } from '../../components/common/note-frontmatter/types'
import type { DateTime } from 'luxon'
import type { Action } from 'redux'
import type { NoteFrontmatter } from '../../components/common/note-frontmatter/note-frontmatter'
import type { NoteDto } from '../../api/notes/types'
import type { RendererFrontmatterInfo } from '../../components/common/note-frontmatter/types'
export enum NoteDetailsActionType {
SET_DOCUMENT_CONTENT = 'note-details/content/set',