chore: introduce imports ordering (#5463)
This commit is contained in:
committed by
GitHub
parent
30f0e7b031
commit
dbf2920254
@ -4,6 +4,7 @@ import dayjs from 'dayjs';
|
||||
import Prism from 'prismjs';
|
||||
import { CacheProvider } from '@emotion/core';
|
||||
import createCache from '@emotion/cache';
|
||||
|
||||
import BlogPostTemplate from '../components/blog-post-template';
|
||||
import { LayoutTemplate as Layout } from '../components/layout';
|
||||
import DocsTemplate from '../components/docs-template';
|
||||
|
@ -1,5 +1,6 @@
|
||||
import React from 'react';
|
||||
import styled from '@emotion/styled';
|
||||
|
||||
import theme from '../theme';
|
||||
|
||||
const StyledCommunityChannelsList = styled.ul`
|
||||
|
@ -1,5 +1,6 @@
|
||||
import React from 'react';
|
||||
import { css } from '@emotion/core';
|
||||
|
||||
import Markdownify from './markdownify';
|
||||
import PageHero from './page-hero';
|
||||
import HeroTitle from './hero-title';
|
||||
|
@ -3,7 +3,6 @@ import moment from 'moment';
|
||||
import styled from '@emotion/styled';
|
||||
|
||||
import Markdownify from './markdownify';
|
||||
|
||||
import theme from '../theme';
|
||||
|
||||
const Root = styled.div`
|
||||
|
@ -2,7 +2,6 @@ import React from 'react';
|
||||
import styled from '@emotion/styled';
|
||||
|
||||
import Container from './container';
|
||||
|
||||
import theme from '../theme';
|
||||
import { mq } from '../utils';
|
||||
|
||||
|
@ -2,15 +2,13 @@ import React, { useState, useEffect } from 'react';
|
||||
import { Link, graphql, StaticQuery } from 'gatsby';
|
||||
import styled from '@emotion/styled';
|
||||
import { css } from '@emotion/core';
|
||||
|
||||
import GitHubButton from 'react-github-btn';
|
||||
|
||||
import Container from './container';
|
||||
import Notifications from './notifications';
|
||||
import DocSearch from './docsearch';
|
||||
|
||||
import logo from '../img/netlify-cms-logo.svg';
|
||||
import searchIcon from '../img/search.svg';
|
||||
|
||||
import theme from '../theme';
|
||||
import { mq } from '../utils';
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
import styled from '@emotion/styled';
|
||||
|
||||
import theme from '../theme';
|
||||
import { mq } from '../utils';
|
||||
|
||||
|
@ -3,7 +3,6 @@ import styled from '@emotion/styled';
|
||||
|
||||
import Container from './container';
|
||||
import Page from './page';
|
||||
|
||||
import theme from '../theme';
|
||||
|
||||
const Header = styled.header`
|
||||
|
@ -2,6 +2,7 @@ import React from 'react';
|
||||
import { Helmet } from 'react-helmet';
|
||||
import { graphql, StaticQuery } from 'gatsby';
|
||||
import { ThemeProvider } from 'emotion-theming';
|
||||
|
||||
import Header from './header';
|
||||
import Footer from './footer';
|
||||
import GlobalStyles from '../global-styles';
|
||||
|
@ -1,4 +1,5 @@
|
||||
import React from 'react';
|
||||
|
||||
import Notification from './notification';
|
||||
|
||||
function Notifications({ notifications }) {
|
||||
|
@ -2,7 +2,6 @@ import React from 'react';
|
||||
import { css } from '@emotion/core';
|
||||
|
||||
import Container from './container';
|
||||
|
||||
import theme from '../theme';
|
||||
import { mq } from '../utils';
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
import React from 'react';
|
||||
import { css } from '@emotion/core';
|
||||
import styled from '@emotion/styled';
|
||||
|
||||
import Page from './page';
|
||||
import { mq } from '../utils';
|
||||
import styled from '@emotion/styled';
|
||||
|
||||
const Children = styled.div`
|
||||
overflow: auto;
|
||||
|
@ -2,7 +2,6 @@ import React, { useState } from 'react';
|
||||
import styled from '@emotion/styled';
|
||||
|
||||
import theme from '../theme';
|
||||
|
||||
import screenshotEditor from '../img/screenshot-editor.jpg';
|
||||
|
||||
const VideoLink = styled.a`
|
||||
|
@ -3,7 +3,6 @@ import styled from '@emotion/styled';
|
||||
|
||||
import WidgetDoc from './widget-doc';
|
||||
import Button from './button';
|
||||
|
||||
import theme from '../theme';
|
||||
|
||||
const WidgetsNav = styled.nav`
|
||||
|
@ -1,4 +1,5 @@
|
||||
import React from 'react';
|
||||
|
||||
import ChatButton from './components/chat-button';
|
||||
|
||||
class HTML extends React.Component {
|
||||
|
@ -8,7 +8,6 @@ import Container from '../components/container';
|
||||
import MetaInfo from '../components/meta-info';
|
||||
import Page from '../components/page';
|
||||
import Lead from '../components/lead';
|
||||
|
||||
import theme from '../theme';
|
||||
|
||||
function Blog({ data }) {
|
||||
|
@ -13,7 +13,6 @@ import Lead from '../components/lead';
|
||||
import Features from '../components/features';
|
||||
import HomeSection from '../components/home-section';
|
||||
import Grid from '../components/grid';
|
||||
|
||||
import theme from '../theme';
|
||||
import { mq } from '../utils';
|
||||
|
||||
|
Reference in New Issue
Block a user