Skip to content

Commit

Permalink
Fix import ss exten
Browse files Browse the repository at this point in the history
  • Loading branch information
charlinedev committed Oct 4, 2023
1 parent 51c7a41 commit e4dbabb
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 10 deletions.
5 changes: 2 additions & 3 deletions src/components/WelcomeModal/FirstPhase.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import { useSnackbar } from 'notistack';
import React from 'react';

import KeyboardArrowLeft from '@mui/icons-material/KeyboardArrowLeft';
import KeyboardArrowRight from '@mui/icons-material/KeyboardArrowRight';
import { Checkbox } from '@mui/material';
import Button from '@mui/material/Button';
import MobileStepper from '@mui/material/MobileStepper';

Check failure on line 5 in src/components/WelcomeModal/FirstPhase.tsx

View workflow job for this annotation

GitHub Actions / lint

There should be at least one empty line between import groups
import { useSnackbar } from 'notistack';

Check failure on line 6 in src/components/WelcomeModal/FirstPhase.tsx

View workflow job for this annotation

GitHub Actions / lint

`notistack` import should occur before import of `@mui/icons-material/KeyboardArrowLeft`
import React from 'react';

Check failure on line 7 in src/components/WelcomeModal/FirstPhase.tsx

View workflow job for this annotation

GitHub Actions / lint

`react` import should occur before import of `@mui/icons-material/KeyboardArrowLeft`

import { CGU } from 'src/components/CGU';
import { Flag } from 'src/components/Flag';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import htmlToDraft from 'html-to-draftjs';
import React from 'react';
import { Divider } from '@mui/material';

Check failure on line 1 in src/components/activities/content/editors/TextEditor/SimpleTextEditor.tsx

View workflow job for this annotation

GitHub Actions / lint

`@mui/material` import should occur after import of `react`
import Paper from '@mui/material/Paper';

Check failure on line 2 in src/components/activities/content/editors/TextEditor/SimpleTextEditor.tsx

View workflow job for this annotation

GitHub Actions / lint

There should be at least one empty line between import groups

Check failure on line 2 in src/components/activities/content/editors/TextEditor/SimpleTextEditor.tsx

View workflow job for this annotation

GitHub Actions / lint

`@mui/material/Paper` import should occur after import of `react`
import classnames from 'classnames';
Expand All @@ -18,6 +16,8 @@ import {
getSelectionCustomInlineStyle,
toggleCustomInlineStyle,
} from 'draftjs-utils';
import htmlToDraft from 'html-to-draftjs';
import React from 'react';

import { ColorPicker } from './toolbar/ColorPicker';
import { EmojiPicker } from './toolbar/EmojiPicker';
Expand Down
3 changes: 1 addition & 2 deletions src/contexts/activityContext.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import { Card, CircularProgress } from '@mui/material';

Check failure on line 1 in src/contexts/activityContext.tsx

View workflow job for this annotation

GitHub Actions / lint

There should be at least one empty line between import groups

Check failure on line 1 in src/contexts/activityContext.tsx

View workflow job for this annotation

GitHub Actions / lint

`@mui/material` import should occur after import of `react-query`
import { useRouter } from 'next/router';
import React from 'react';
import { useQueryClient } from 'react-query';

import { Card, CircularProgress } from '@mui/material';

import { UserContext } from './userContext';
import { VillageContext } from './villageContext';
import { Modal } from 'src/components/Modal';
Expand Down
5 changes: 2 additions & 3 deletions src/pages/login.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import { Backdrop, Button, CircularProgress, Link, Tooltip } from '@mui/material';

Check failure on line 1 in src/pages/login.tsx

View workflow job for this annotation

GitHub Actions / lint

There should be at least one empty line between import groups

Check failure on line 1 in src/pages/login.tsx

View workflow job for this annotation

GitHub Actions / lint

`@mui/material` import should occur after import of `react`
import { useRouter } from 'next/router';
import qs from 'query-string';
import React from 'react';
import { useRouter } from 'next/router';

import { Backdrop, Button, CircularProgress, Link, Tooltip } from '@mui/material';

import { KeepRatio } from '../components/KeepRatio';
import { isRedirectValid } from '../components/accueil/NewHome';
Expand Down

0 comments on commit e4dbabb

Please sign in to comment.