mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-16 11:47:54 +01:00
refactor: fix eslint fixable errors/warnings
This commit is contained in:
@@ -18,6 +18,7 @@ apps/web/public/an.js
|
||||
|
||||
# editor
|
||||
packages/editor/styles/
|
||||
packages/editor/languages/
|
||||
|
||||
# editor mobile
|
||||
packages/editor-mobile/build.bundle
|
||||
@@ -27,8 +27,7 @@ import { useAppState } from "../../hooks/use-app-state";
|
||||
import BiometricService from "../../services/biometrics";
|
||||
import {
|
||||
eSendEvent,
|
||||
presentSheet,
|
||||
ToastEvent
|
||||
presentSheet
|
||||
} from "../../services/event-manager";
|
||||
import { setRateAppMessage } from "../../services/message";
|
||||
import PremiumService from "../../services/premium";
|
||||
|
||||
@@ -29,7 +29,6 @@ import Paragraph from "../../ui/typography/paragraph";
|
||||
import SelectionWrapper from "../selection-wrapper";
|
||||
import Icon from "react-native-vector-icons/MaterialCommunityIcons";
|
||||
import ReminderSheet from "../../sheets/reminder";
|
||||
import { formatReminderTime } from "@notesnook/core/collections/reminders";
|
||||
import { ReminderTime } from "../../ui/reminder-time";
|
||||
|
||||
const ReminderItem = React.memo(
|
||||
|
||||
@@ -18,7 +18,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import React from "react";
|
||||
import { Platform, View, TouchableOpacity } from "react-native";
|
||||
import { Platform, View } from "react-native";
|
||||
import { ScrollView } from "react-native-gesture-handler";
|
||||
import { db } from "../../common/database";
|
||||
import { DDS } from "../../services/device-detection";
|
||||
@@ -37,9 +37,7 @@ import Notebooks from "./notebooks";
|
||||
import { Synced } from "./synced";
|
||||
import { Tags } from "./tags";
|
||||
import { Topics } from "./topics";
|
||||
import Icon from "react-native-vector-icons/MaterialCommunityIcons";
|
||||
import {
|
||||
formatReminderTime,
|
||||
getUpcomingReminder
|
||||
} from "@notesnook/core/collections/reminders";
|
||||
import { ReminderTime } from "../ui/reminder-time";
|
||||
|
||||
@@ -32,7 +32,6 @@ import SettingsService from "../../services/settings";
|
||||
import { useSettingStore } from "../../stores/use-setting-store";
|
||||
import { useThemeStore } from "../../stores/use-theme-store";
|
||||
import { SIZE } from "../../utils/size";
|
||||
import notifee from "@notifee/react-native";
|
||||
|
||||
const SoundItem = ({
|
||||
playingSoundId,
|
||||
|
||||
@@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import React, { useState, Suspense, useMemo, useRef, useEffect } from "react";
|
||||
import React, { useState, Suspense, useMemo, useRef } from "react";
|
||||
import { Box, Flex } from "@theme-ui/components";
|
||||
import ThemeProvider from "./components/theme-provider";
|
||||
import useMobile from "./hooks/use-mobile";
|
||||
|
||||
@@ -19,7 +19,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
import { Extension, TextSerializer } from "@tiptap/core";
|
||||
import { Plugin, PluginKey } from "prosemirror-state";
|
||||
import { Node as ProseMirrorNode, Schema, Slice } from "prosemirror-model";
|
||||
import { Schema, Slice } from "prosemirror-model";
|
||||
|
||||
export const ClipboardTextSerializer = Extension.create({
|
||||
name: "clipboardTextSerializer",
|
||||
|
||||
@@ -22,7 +22,7 @@ import { ToolButton } from "../components/tool-button";
|
||||
import { useCallback, useRef, useState } from "react";
|
||||
import { ResponsivePresenter } from "../../components/responsive";
|
||||
import { LinkPopup } from "../popups/link-popup";
|
||||
import { useIsMobile, useToolbarLocation } from "../stores/toolbar-store";
|
||||
import { useToolbarLocation } from "../stores/toolbar-store";
|
||||
import { MoreTools } from "../components/more-tools";
|
||||
import { useRefValue } from "../../hooks/use-ref-value";
|
||||
import { findMark, selectionToOffset } from "../../utils/prosemirror";
|
||||
|
||||
Reference in New Issue
Block a user