diff --git a/.prettierrc.json b/.prettierrc.json index 932ed3ef..0c45137e 100644 --- a/.prettierrc.json +++ b/.prettierrc.json @@ -1,7 +1,7 @@ { "trailingComma": "es5", "tabWidth": 4, - "semi": false, + "semi": true, "singleQuote": true, "printWidth": 100 } diff --git a/packages/editor/src/components/canvas/index.tsx b/packages/editor/src/components/canvas/index.tsx index dbc87f1f..eeb2d746 100644 --- a/packages/editor/src/components/canvas/index.tsx +++ b/packages/editor/src/components/canvas/index.tsx @@ -1,6 +1,6 @@ -import React from 'react' -import { StyledCanvas } from './styled' +import React from 'react'; +import { StyledCanvas } from './styled'; -const Canvas = (): React.ReactElement => canvas +const Canvas = (): React.ReactElement => canvas; -export default Canvas +export default Canvas; diff --git a/packages/editor/src/components/canvas/styled.ts b/packages/editor/src/components/canvas/styled.ts index 8f35d710..7cc7eb85 100644 --- a/packages/editor/src/components/canvas/styled.ts +++ b/packages/editor/src/components/canvas/styled.ts @@ -1,8 +1,8 @@ -import styled from 'styled-components' +import styled from 'styled-components'; export const StyledCanvas = styled.div` height: 100% width: 100%; flex: 1; -` +`; diff --git a/packages/editor/src/components/footer/index.tsx b/packages/editor/src/components/footer/index.tsx index b42ffdca..d654d237 100644 --- a/packages/editor/src/components/footer/index.tsx +++ b/packages/editor/src/components/footer/index.tsx @@ -1,6 +1,6 @@ -import React from 'react' -import { StyledFooter } from './styled' +import React from 'react'; +import { StyledFooter } from './styled'; -const Footer = (): React.ReactElement => footer +const Footer = (): React.ReactElement => footer; -export default Footer +export default Footer; diff --git a/packages/editor/src/components/footer/styled.ts b/packages/editor/src/components/footer/styled.ts index e9d95535..b731d333 100644 --- a/packages/editor/src/components/footer/styled.ts +++ b/packages/editor/src/components/footer/styled.ts @@ -1,8 +1,8 @@ -import styled from 'styled-components' -import { times } from '../../size' +import styled from 'styled-components'; +import { times } from '../../size'; export const StyledFooter = styled.div` height: ${times(10)}; width: 100%; border: 1px solid black; -` +`; diff --git a/packages/editor/src/components/frame/index.tsx b/packages/editor/src/components/frame/index.tsx index 31f88de4..b809c9db 100644 --- a/packages/editor/src/components/frame/index.tsx +++ b/packages/editor/src/components/frame/index.tsx @@ -1,8 +1,8 @@ -import React from 'react' -import Footer from '../footer' -import TopBar from '../top-bar' -import Canvas from '../canvas' -import { StyledFrame } from './styled' +import React from 'react'; +import Footer from '../footer'; +import TopBar from '../top-bar'; +import Canvas from '../canvas'; +import { StyledFrame } from './styled'; const Frame = (): React.ReactElement => ( @@ -10,6 +10,6 @@ const Frame = (): React.ReactElement => (