1
0
mirror of https://github.com/SomboChea/ui synced 2026-01-18 17:16:00 +07:00

feat(eslint-config): add order rule in import

* refactor: added eslint-plugin-import

* refactor: disable some rules for muiComponents

* fix: fixed import
This commit is contained in:
Priscila Oliveira
2019-10-07 22:19:18 +02:00
committed by Sergio Hg
parent 950f6defca
commit ae73772a37
84 changed files with 152 additions and 97 deletions

View File

@@ -1,5 +1,6 @@
import React from 'react';
import { mount } from 'enzyme';
import { ActionBar } from './ActionBar';
const mockPackageMeta: jest.Mock = jest.fn(() => ({

View File

@@ -1,16 +1,16 @@
import React, { Component, ReactElement } from 'react';
import BugReportIcon from '@material-ui/icons/BugReport';
import DownloadIcon from '@material-ui/icons/CloudDownload';
import HomeIcon from '@material-ui/icons/Home';
import List from '@material-ui/core/List';
import { DetailContextConsumer, VersionPageConsumerProps } from '../../pages/Version';
import { Fab, ActionListItem } from './styles';
import { isURL, extractFileName, downloadFile } from '../../utils/url';
import api from '../../utils/api';
import Tooltip from '../../muiComponents/Tooltip';
import { Fab, ActionListItem } from './styles';
export interface Action {
icon: string;
title: string;