chore(frontend): added rule to seperate out @app imports and linted

This commit is contained in:
akhilmhdh
2023-01-17 21:06:14 +05:30
parent cf7834bfc3
commit 7ae73d1b62
42 changed files with 113 additions and 71 deletions
@@ -1,10 +1,11 @@
import { Fragment, useState } from 'react';
import { useTranslation } from 'next-i18next';
import addAPIKey from '@app/pages/api/apiKey/addAPIKey';
import { faCheck, faCopy } from '@fortawesome/free-solid-svg-icons';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import { Dialog, Transition } from '@headlessui/react';
import addAPIKey from '@app/pages/api/apiKey/addAPIKey';
import Button from '../buttons/Button';
import InputField from '../InputField';
import ListBox from '../Listbox';
@@ -1,8 +1,9 @@
import { Fragment, useState } from 'react';
import { useTranslation } from 'next-i18next';
import addIncidentContact from '@app/pages/api/organization/addIncidentContact';
import { Dialog, Transition } from '@headlessui/react';
import addIncidentContact from '@app/pages/api/organization/addIncidentContact';
import Button from '../buttons/Button';
import InputField from '../InputField';
@@ -2,12 +2,13 @@ import crypto from 'crypto';
import { Fragment, useState } from 'react';
import { useTranslation } from 'next-i18next';
import addServiceToken from '@app/pages/api/serviceToken/addServiceToken';
import getLatestFileKey from '@app/pages/api/workspace/getLatestFileKey';
import { faCheck, faCopy } from '@fortawesome/free-solid-svg-icons';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import { Dialog, Transition } from '@headlessui/react';
import addServiceToken from '@app/pages/api/serviceToken/addServiceToken';
import getLatestFileKey from '@app/pages/api/workspace/getLatestFileKey';
import {
decryptAssymmetric,
encryptSymmetric,