Feature/use alias for imports (#352)

* Use alias "@" for imports

* Use alias "@" for imports - Fix imports

* Use alias "@" for imports - Prevent faulty "import/extensions" linting issue

For some reason the rule throws an error for alias imports

* Use alias "@" for imports - Update "no-relative-imports" eslint rule
This commit is contained in:
schroda
2023-06-05 01:42:39 +02:00
committed by GitHub
parent 1ec6d77598
commit 4b83ccc889
88 changed files with 337 additions and 331 deletions

View File

@@ -10,7 +10,7 @@ import { CircularProgress, Box } from '@mui/material';
import Typography from '@mui/material/Typography';
import React from 'react';
import { useTranslation } from 'react-i18next';
import { IDownloadChapter, TranslationKey } from 'typings';
import { IDownloadChapter, TranslationKey } from '@/typings';
interface DownloadStateIndicatorProps {
download: IDownloadChapter;

View File

@@ -7,9 +7,9 @@
*/
import { Stack, Tab, Tabs } from '@mui/material';
import TabPanel from 'components/util/TabPanel';
import React, { useState } from 'react';
import OptionsPanel from 'components/molecules/OptionsPanel';
import TabPanel from '@/components/util/TabPanel';
import OptionsPanel from '@/components/molecules/OptionsPanel';
interface IProps<T = string> {
open: boolean;