Skip to content

Instantly share code, notes, and snippets.

Avatar
💫

Jon Heslop jonheslop

💫
View GitHub Profile
@jonheslop
jonheslop / mind-dump.md
Last active Jul 6, 2021
My workings on how best to integrate XO (ESLint) and Prettier into a project.
View mind-dump.md

Looking into Formatters & Linters

So after a brief discussion on #nodejs it looks like people would like:

  • To use Prettier to format all our code automagically so it all sticks to one consistent style
  • To use XO as a wrapper on ESLint to enforce code-quality rules
  • To ditch Standard because as it turns out people like semicolons.

What I did first

Read the docs on:

View dash.pusher.com-audit-120320.json
{
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36",
"environment": {
"networkUserAgent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3694.0 Mobile Safari/537.36 Chrome-Lighthouse",
"hostUserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36",
"benchmarkIndex": 1358
},
"lighthouseVersion": "5.7.0",
"fetchTime": "2020-03-12T16:57:45.816Z",
"requestedUrl": "https://dash.pusher.com/authenticate",
View music-for-ben.md
View pusher-colours.css
:root {
/* Darks */
--black-light: var(--steel);
--black: #262d4d;
--black-dark: #2b2c3c;
--steel: #363b59;
--slate: #596080;
--silver: #a3aacc;
/* Tints */
View pusher-lighthouse-score-29-10-20.json
{
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36",
"environment": {
"networkUserAgent": "Mozilla/5.0 (Linux; Android 7.0; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4143.7 Mobile Safari/537.36 Chrome-Lighthouse",
"hostUserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36",
"benchmarkIndex": 606
},
"lighthouseVersion": "6.2.0",
"fetchTime": "2020-10-29T17:33:13.850Z",
"requestedUrl": "https://pusher.com/",
View pusher-blog-lighthouse-131020.json
{
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36",
"environment": {
"networkUserAgent": "Mozilla/5.0 (Linux; Android 7.0; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4143.7 Mobile Safari/537.36 Chrome-Lighthouse",
"hostUserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36",
"benchmarkIndex": 1286
},
"lighthouseVersion": "6.2.0",
"fetchTime": "2020-10-13T17:20:33.963Z",
"requestedUrl": "https://blog.pusher.com/",
View pusher-blog-lighthouse-131020-no-tracking.json
{
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36",
"environment": {
"networkUserAgent": "Mozilla/5.0 (Linux; Android 7.0; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4143.7 Mobile Safari/537.36 Chrome-Lighthouse",
"hostUserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36",
"benchmarkIndex": 1386
},
"lighthouseVersion": "6.2.0",
"fetchTime": "2020-10-13T17:17:10.003Z",
"requestedUrl": "https://blog.pusher.com/",
View pusher-blog-lighthouse-redesign-uncss-081020.json
{
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36",
"environment": {
"networkUserAgent": "Mozilla/5.0 (Linux; Android 6.0.1; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3963.0 Mobile Safari/537.36 Chrome-Lighthouse",
"hostUserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36",
"benchmarkIndex": 1240
},
"lighthouseVersion": "6.0.0",
"fetchTime": "2020-10-08T16:36:53.639Z",
"requestedUrl": "https://pusherdev.wpengine.com/",
View pusher-blog-lighthouse-redesign-081020.json
{
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36",
"environment": {
"networkUserAgent": "Mozilla/5.0 (Linux; Android 6.0.1; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3963.0 Mobile Safari/537.36 Chrome-Lighthouse",
"hostUserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36",
"benchmarkIndex": 1322
},
"lighthouseVersion": "6.0.0",
"fetchTime": "2020-10-08T16:26:13.962Z",
"requestedUrl": "https://pusherdev.wpengine.com/",