Suggestion: let prettier sort imports order (#673)
* Suggestion: let prettier sort imports order # Conflicts: # yarn.lock * AUTO SORT ALL THE IMPORTS * Linting * Fixes test
This commit is contained in:
1 parent
3add84a279
commit
d194878bb2
192 files changed
+921
-577
No files matched your search
@@ -1,5 +1,6 @@
|
||||
import React from "react";
|
||||
import classnames from "classnames";
|
||||
import React from "react";
|
||||
|
||||
import { TextProps } from "../Text";
|
||||
|
||||
const Body: React.FunctionComponent<TextProps> = (props: TextProps) => {
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
import Body from "./Body";
|
||||
|
||||
export default Body;
|
||||
@@ -1,5 +1,6 @@
|
||||
import React from "react";
|
||||
import classnames from "classnames";
|
||||
import React from "react";
|
||||
|
||||
import { TextProps } from "../Text";
|
||||
|
||||
const Caption: React.FunctionComponent<TextProps> = (props: TextProps) => {
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
import Caption from "./Caption";
|
||||
|
||||
export default Caption;
|
||||
@@ -1,5 +1,6 @@
|
||||
import React from "react";
|
||||
import classnames from "classnames";
|
||||
import React from "react";
|
||||
|
||||
import { TextProps } from "../Text";
|
||||
|
||||
const Caption2: React.FunctionComponent<TextProps> = (props: TextProps) => {
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
import Caption2 from "./Caption2";
|
||||
|
||||
export default Caption2;
|
||||
@@ -1,5 +1,6 @@
|
||||
import React from "react";
|
||||
import classnames from "classnames";
|
||||
import React from "react";
|
||||
|
||||
import { TextProps } from "../Text";
|
||||
|
||||
const Footnote: React.FunctionComponent<TextProps> = (props: TextProps) => {
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
import Footnote from "./Footnote";
|
||||
|
||||
export default Footnote;
|
||||
@@ -1,5 +1,6 @@
|
||||
import React from "react";
|
||||
import classnames from "classnames";
|
||||
import React from "react";
|
||||
|
||||
import { TextProps } from "../Text";
|
||||
|
||||
const Headline: React.FunctionComponent<TextProps> = (props: TextProps) => {
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
import Headline from "./Headline";
|
||||
|
||||
export default Headline;
|
||||
@@ -1,5 +1,6 @@
|
||||
import React from "react";
|
||||
import classnames from "classnames";
|
||||
import React from "react";
|
||||
|
||||
import { TextProps } from "../Text";
|
||||
|
||||
const Largetitle: React.FunctionComponent<TextProps> = (props: TextProps) => {
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
import Largetitle from "./Largetitle";
|
||||
|
||||
export default Largetitle;
|
||||
@@ -1,5 +1,6 @@
|
||||
import React from "react";
|
||||
import classnames from "classnames";
|
||||
import React from "react";
|
||||
|
||||
import { TextProps } from "../Text";
|
||||
|
||||
const Overline: React.FunctionComponent<TextProps> = (props: TextProps) => {
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
import Overline from "./Overline";
|
||||
|
||||
export default Overline;
|
||||
@@ -1,5 +1,6 @@
|
||||
import React from "react";
|
||||
import classnames from "classnames";
|
||||
import React from "react";
|
||||
|
||||
import { TextProps } from "../Text";
|
||||
|
||||
const Subheadline: React.FunctionComponent<TextProps> = (props: TextProps) => {
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
import Subheadline from "./Subheadline";
|
||||
|
||||
export default Subheadline;
|
||||
@@ -1,5 +1,6 @@
|
||||
import React from "react";
|
||||
import classnames from "classnames";
|
||||
import React from "react";
|
||||
|
||||
import { TextProps } from "../Text";
|
||||
|
||||
const Subtitle: React.FunctionComponent<TextProps> = (props: TextProps) => {
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
import Subtitle from "./Subtitle";
|
||||
|
||||
export default Subtitle;
|
||||
@@ -1,4 +1,5 @@
|
||||
import React from "react";
|
||||
|
||||
import Body from "./Body";
|
||||
import Caption from "./Caption";
|
||||
import Caption2 from "./Caption2";
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import React from "react";
|
||||
import classnames from "classnames";
|
||||
import React from "react";
|
||||
|
||||
import { TextProps } from "../Text";
|
||||
|
||||
const Title: React.FunctionComponent<TextProps> = (props: TextProps) => {
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
import Title from "./Title";
|
||||
|
||||
export default Title;
|
||||
@@ -1,5 +1,6 @@
|
||||
import React from "react";
|
||||
import classnames from "classnames";
|
||||
import React from "react";
|
||||
|
||||
import { TextProps } from "../Text";
|
||||
|
||||
const Title2: React.FunctionComponent<TextProps> = (props: TextProps) => {
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
import Title2 from "./Title2";
|
||||
|
||||
export default Title2;
|
||||
@@ -1,5 +1,6 @@
|
||||
import React from "react";
|
||||
import classnames from "classnames";
|
||||
import React from "react";
|
||||
|
||||
import { TextProps } from "../Text";
|
||||
|
||||
const Title3: React.FunctionComponent<TextProps> = (props: TextProps) => {
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
import Title3 from "./Title3";
|
||||
|
||||
export default Title3;
|
||||
+13
-12
@@ -1,39 +1,40 @@
|
||||
import Body from "./Body";
|
||||
import Caption from "./Caption";
|
||||
import Caption2 from "./Caption2";
|
||||
import Footnote from "./Footnote";
|
||||
import Headline from "./Headline";
|
||||
import Largetitle from "./Largetitle";
|
||||
import Overline from "./Overline";
|
||||
import Subheadline from "./Subheadline";
|
||||
import Subtitle from "./Subtitle";
|
||||
import Text from "./Text";
|
||||
import Title from "./Title";
|
||||
import Title2 from "./Title2";
|
||||
import Title3 from "./Title3";
|
||||
|
||||
export { Text };
|
||||
export default Text;
|
||||
|
||||
import Title from "./Title";
|
||||
export { Title };
|
||||
|
||||
import Title2 from "./Title2";
|
||||
export { Title2 };
|
||||
|
||||
import Title3 from "./Title3";
|
||||
export { Title3 };
|
||||
|
||||
import Largetitle from "./Largetitle";
|
||||
export { Largetitle };
|
||||
|
||||
import Subtitle from "./Subtitle";
|
||||
export { Subtitle };
|
||||
|
||||
import Headline from "./Headline";
|
||||
export { Headline };
|
||||
|
||||
import Subheadline from "./Subheadline";
|
||||
export { Subheadline };
|
||||
|
||||
import Caption from "./Caption";
|
||||
export { Caption };
|
||||
|
||||
import Caption2 from "./Caption2";
|
||||
export { Caption2 };
|
||||
|
||||
import Footnote from "./Footnote";
|
||||
export { Footnote };
|
||||
|
||||
import Overline from "./Overline";
|
||||
export { Overline };
|
||||
|
||||
import Body from "./Body";
|
||||
export { Body };
|
||||
Reference in new issue
Block a user