Skip to content

Commit 892e430

Browse files
author
Mackenzie Browne
committed
add prettier config
1 parent 9bb4b0b commit 892e430

File tree

6 files changed

+108
-107
lines changed

6 files changed

+108
-107
lines changed

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@
4646
"last 1 safari version"
4747
]
4848
},
49+
"prettier": {
50+
"tabWidth": 2,
51+
"singleQuote": true
52+
},
4953
"lint-staged": {
5054
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
5155
"prettier --write"

src/App.style.js

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,41 @@
1-
import React from "react";
2-
import styled from "styled-components";
3-
import { Row, Col, Badge, ListGroup } from "react-bootstrap";
1+
import React from 'react';
2+
import styled from 'styled-components';
3+
import { Row, Col, Badge, ListGroup } from 'react-bootstrap';
44

55
export const PillGroup = styled(ListGroup).attrs({
66
horizontal: true,
7-
className: "d-flex flex-wrap pb-2 pb-md-1"
7+
className: 'd-flex flex-wrap pb-2 pb-md-1'
88
})``;
99

1010
export const Pill = styled(ListGroup.Item).attrs({
1111
as: Badge,
12-
variant: "light"
12+
variant: 'light'
1313
})`
1414
margin: 1px;
1515
border: #6c757d 1px solid;
1616
font-weight: 400;
1717
`;
1818

1919
export const Title = styled.h1.attrs({
20-
className: "mt-2"
20+
className: 'mt-2'
2121
})``;
2222

2323
export const TitleLabel = styled.h2.attrs({
24-
className: "my-4"
24+
className: 'my-4'
2525
})`
2626
font-size: 1.5rem;
2727
`;
2828

2929
export const SubTitle = styled.h2.attrs({
30-
className: "mt-3"
30+
className: 'mt-3'
3131
})``;
3232

3333
export const Education = styled.h2.attrs({
34-
className: "mt-3"
34+
className: 'mt-3'
3535
})``;
3636

3737
export const Summary = styled.p.attrs({
38-
className: "mb-1"
38+
className: 'mb-1'
3939
})``;
4040

4141
export const Company = ({ name, location }) => (
@@ -89,7 +89,7 @@ export const SideList = ({ title, list }) => (
8989
</>
9090
);
9191

92-
export const ExperienceList = styled(ListGroup).attrs({ variant: "flush" })``;
92+
export const ExperienceList = styled(ListGroup).attrs({ variant: 'flush' })``;
9393
export const Experience = styled(ListGroup.Item).attrs({
94-
className: "pl-0"
94+
className: 'pl-0'
9595
})``;

src/App.tsx

Lines changed: 81 additions & 81 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import React from "react";
2-
import { Container, Row, Col } from "react-bootstrap";
1+
import React from 'react';
2+
import { Container, Row, Col } from 'react-bootstrap';
33

44
// import logo from './logo.svg';
5-
import "./App.css";
5+
import './App.css';
66
import {
77
Title,
88
TitleLabel,
@@ -14,7 +14,7 @@ import {
1414
SideList,
1515
Pills,
1616
Position
17-
} from "./App.style.js";
17+
} from './App.style.js';
1818

1919
export default function App() {
2020
return (
@@ -52,8 +52,8 @@ export default function App() {
5252
time="Feb 2020 - Present"
5353
duties={[
5454
"Perform technical interviews to grow the team. Mentoring and 1 on 1's for to improve team skills",
55-
"Involved in building a design system and shared component library to unify the user experience",
56-
"Involvement in major web stack migration to micro services and micro front-end technologies"
55+
'Involved in building a design system and shared component library to unify the user experience',
56+
'Involvement in major web stack migration to micro services and micro front-end technologies'
5757
]}
5858
/>
5959
</Experience>
@@ -63,20 +63,20 @@ export default function App() {
6363
title="Lead Mobile Application Developer - Game"
6464
time="Mar 2019 – Sep 2019"
6565
duties={[
66-
"Build internal tools from feedback to dramatically improve mobile QA testing speed",
67-
"Improved mobile user experience and created a standard method for mobile-specific features",
68-
"Design and build automation pipelines for test builds, productions builds and deployment",
69-
"Facilitate cross-team collaboration to improve the mobile experience in all parts of the company"
66+
'Build internal tools from feedback to dramatically improve mobile QA testing speed',
67+
'Improved mobile user experience and created a standard method for mobile-specific features',
68+
'Design and build automation pipelines for test builds, productions builds and deployment',
69+
'Facilitate cross-team collaboration to improve the mobile experience in all parts of the company'
7070
]}
7171
/>
7272
<Position
7373
title="Senior Full Stack Developer - School Leader App"
7474
time="Jun 2018 – Mar 2019"
7575
duties={[
76-
"Primary role is to develop new features and improve the Admin/Principal user experience",
76+
'Primary role is to develop new features and improve the Admin/Principal user experience',
7777
"Create user management system to remove and invite new users to an Principal's school",
78-
"Develop several in-house tools to improve productivity including CI tools and Slack bots",
79-
"Trained and mentored for several junior and intermediate developers in the company"
78+
'Develop several in-house tools to improve productivity including CI tools and Slack bots',
79+
'Trained and mentored for several junior and intermediate developers in the company'
8080
]}
8181
/>
8282
</Experience>
@@ -86,10 +86,10 @@ export default function App() {
8686
title="Senior Frontend Developer"
8787
time="Oct 2017 – Jun 2018"
8888
duties={[
89-
"Support and maintain the existing Novus app. Includes a user-facing website and a custom CMS",
90-
"Designed a maintainable, reproducible app template that can be used across the Ingle product line. This dramatically reduced the amount of maintenance and bugs",
91-
"Create custom company-facing dashboard app with multiple sign-in routes, analytics and tools",
92-
"Train interns and other employees with pair programming and code reviews",
89+
'Support and maintain the existing Novus app. Includes a user-facing website and a custom CMS',
90+
'Designed a maintainable, reproducible app template that can be used across the Ingle product line. This dramatically reduced the amount of maintenance and bugs',
91+
'Create custom company-facing dashboard app with multiple sign-in routes, analytics and tools',
92+
'Train interns and other employees with pair programming and code reviews',
9393
'Promote extra curricular coding activities like running a team "Advent Of Code" scoreboard.'
9494
]}
9595
/>
@@ -103,12 +103,12 @@ export default function App() {
103103
title="Full Stack and Mobile Development"
104104
time="August 2011 – June 2017"
105105
duties={[
106-
"Full-time contracting including initial pitch meetings all the way through to final product",
107-
"Perform interviews and hiring to advise how companies should hire their teams",
108-
"Requirements gathering, design, proof of concept and mvp implementations",
109-
"Perform upgrades, maintenance or build new features to existing products",
110-
"Built Mobile Apps, Websites and Hardware projects involving GPS and Bluetooth",
111-
"Clients included IBM, NYPD, Syfy/Space Channel, NBC, Hatch, and many small startups, nonprofits and charities in the Toronto area"
106+
'Full-time contracting including initial pitch meetings all the way through to final product',
107+
'Perform interviews and hiring to advise how companies should hire their teams',
108+
'Requirements gathering, design, proof of concept and mvp implementations',
109+
'Perform upgrades, maintenance or build new features to existing products',
110+
'Built Mobile Apps, Websites and Hardware projects involving GPS and Bluetooth',
111+
'Clients included IBM, NYPD, Syfy/Space Channel, NBC, Hatch, and many small startups, nonprofits and charities in the Toronto area'
112112
]}
113113
/>
114114
</Experience>
@@ -124,9 +124,9 @@ export default function App() {
124124
title="Bachelor Of Science with Honours"
125125
time="2007 - 2012"
126126
duties={[
127-
"Computer Science with minor in Mathematics",
128-
"16 Month Internship in Web Application Development at IBM",
129-
"Thesis involving concurrent, multi-core web crawling using Clojure"
127+
'Computer Science with minor in Mathematics',
128+
'16 Month Internship in Web Application Development at IBM',
129+
'Thesis involving concurrent, multi-core web crawling using Clojure'
130130
]}
131131
/>
132132
</Experience>
@@ -136,89 +136,89 @@ export default function App() {
136136
<SideList
137137
title="Contact"
138138
list={[
139-
"info@mackbrowne.com",
140-
"+31 061 773 5900",
141-
"linkedin.com/in/mackbrowne"
139+
'info@mackbrowne.com',
140+
'+31 061 773 5900',
141+
'linkedin.com/in/mackbrowne'
142142
]}
143143
/>
144144
<SideList
145145
title="Portfolio"
146-
list={["mackbrowne.com", "github.com/mackbrowne"]}
146+
list={['mackbrowne.com', 'github.com/mackbrowne']}
147147
/>
148148
<SideList
149149
title="Skills"
150150
list={[
151-
"Beautiful landing pages",
152-
"Responsive Design",
153-
"Agile and Kanban Methodology",
154-
"Git Flow",
155-
"Unit and E2E Testing",
156-
"Continuous Builds / Tests / Deploys",
157-
"Native and Hybrid Apps",
158-
"Single Page Apps",
159-
"REST API Development"
151+
'Beautiful landing pages',
152+
'Responsive Design',
153+
'Agile and Kanban Methodology',
154+
'Git Flow',
155+
'Unit and E2E Testing',
156+
'Continuous Builds / Tests / Deploys',
157+
'Native and Hybrid Apps',
158+
'Single Page Apps',
159+
'REST API Development'
160160
]}
161161
/>
162162
<Pills
163163
title="Frameworks"
164164
list={[
165-
"ReactJS",
166-
"Hooks / Context",
167-
"Redux",
168-
"Styled-Components",
169-
"Jest",
170-
"Cypress",
171-
"NodeJS",
172-
"Typescript",
173-
"GraphQL",
174-
"Bootstrap",
175-
"React-Native",
176-
"Expo",
177-
"Cordova",
178-
"MeteorJS",
179-
"Angular"
165+
'ReactJS',
166+
'Hooks / Context',
167+
'Redux',
168+
'Styled-Components',
169+
'Jest',
170+
'Cypress',
171+
'NodeJS',
172+
'Typescript',
173+
'GraphQL',
174+
'Bootstrap',
175+
'React-Native',
176+
'Expo',
177+
'Cordova',
178+
'MeteorJS',
179+
'Angular'
180180
]}
181181
/>
182182
<Pills
183183
title="Services"
184184
list={[
185-
"AWS",
186-
"Firebase",
187-
"JIRA",
188-
"CircleCI",
189-
"Google Play",
190-
"Itunes Connect",
191-
"Stripe",
192-
"Maps",
193-
"OAuth"
185+
'AWS',
186+
'Firebase',
187+
'JIRA',
188+
'CircleCI',
189+
'Google Play',
190+
'Itunes Connect',
191+
'Stripe',
192+
'Maps',
193+
'OAuth'
194194
]}
195195
/>
196196
<Pills
197197
title="Tools"
198198
list={[
199-
"Git",
200-
"VSCode",
201-
"Jenkins",
202-
"Vim",
203-
"Prettier",
204-
"lighthouse",
205-
"axe",
206-
"cloc"
199+
'Git',
200+
'VSCode',
201+
'Jenkins',
202+
'Vim',
203+
'Prettier',
204+
'lighthouse',
205+
'axe',
206+
'cloc'
207207
]}
208208
/>
209209
<Pills
210210
title="Languages"
211211
list={[
212-
"Javascript",
213-
"Typescript",
214-
"ES6",
215-
"MongoDB",
216-
"Java",
217-
"Python",
218-
"GraphQL",
219-
"SQL",
220-
"Clojure",
221-
"C++"
212+
'Javascript',
213+
'Typescript',
214+
'ES6',
215+
'MongoDB',
216+
'Java',
217+
'Python',
218+
'GraphQL',
219+
'SQL',
220+
'Clojure',
221+
'C++'
222222
]}
223223
/>
224224
</Col>

src/index.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
// Override default variables before the import
22
// $body-bg: #eaf4ec;
33
// Import Bootstrap and its default variables
4-
@import "~bootstrap/scss/bootstrap.scss";
4+
@import '~bootstrap/scss/bootstrap.scss';
55

66
body {
77
margin: 0;
8-
font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", "Oxygen",
9-
"Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
8+
font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Oxygen',
9+
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
1010
sans-serif;
1111
-webkit-font-smoothing: antialiased;
1212
-moz-osx-font-smoothing: grayscale;

src/index.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
import React from "react";
2-
import ReactDOM from "react-dom";
3-
import "typeface-roboto";
4-
import "./index.scss";
5-
import App from "./App";
6-
import * as serviceWorker from "./serviceWorker";
1+
import React from 'react';
2+
import ReactDOM from 'react-dom';
3+
import 'typeface-roboto';
4+
import './index.scss';
5+
import App from './App';
6+
import * as serviceWorker from './serviceWorker';
77

8-
ReactDOM.render(<App />, document.getElementById("root"));
8+
ReactDOM.render(<App />, document.getElementById('root'));
99

1010
// If you want your app to work offline and load faster, you can change
1111
// unregister() to register() below. Note this comes with some pitfalls.

src/serviceWorker.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,7 @@ type Config = {
2828
export function register(config?: Config) {
2929
if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {
3030
// The URL constructor is available in all browsers that support SW.
31-
const publicUrl = new URL(
32-
process.env.PUBLIC_URL,
33-
window.location.href
34-
);
31+
const publicUrl = new URL(process.env.PUBLIC_URL, window.location.href);
3532
if (publicUrl.origin !== window.location.origin) {
3633
// Our service worker won't work if PUBLIC_URL is on a different origin
3734
// from what our page is served on. This might happen if a CDN is used to

0 commit comments

Comments
 (0)