Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: blog: Differences between linting and type checking #664

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
15 changes: 14 additions & 1 deletion src/_data/all_authors.json
Original file line number Diff line number Diff line change
Expand Up @@ -200,5 +200,18 @@
"twitter_username": "antfu7",
"github_username": "antfu",
"location": "undefined"
},
"joshuakgoldberg": {
"username": "joshuakgoldberg",
"name": "Josh Goldberg",
"title": "Committer Team Member",
"website": "https://joshuakgoldberg.com",
"avatar_url": "https://avatars.githubusercontent.com/u/3335181?v=4",
"bio": "An open source maintainer in the TypeScript ecosystem.",
"github_username": "JoshuaKGoldberg",
"bluesky_url": "joshuakgoldberg.com",
"mastodon_url": "https://fosstodon.org/@JoshuaKGoldberg",
"twitter_username": "JoshuaKGoldberg2",
"location": "undefined"
}
}
}
3 changes: 2 additions & 1 deletion src/_data/team.json
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,7 @@
"website": "http://www.joshuakgoldberg.com",
"avatar_url": "https://avatars.githubusercontent.com/u/3335181?v=4",
"bio": "Full time open source 💖✨ \r\n\r\n@typescript-eslint maintainer; \r\n@LearningTypeScript author;\r\nMicrosoft MVP 🌟",
"bluesky_url": "joshuakgoldberg.com",
"twitter_username": "JoshuaKGoldberg",
"github_username": "JoshuaKGoldberg",
"mastodon_url": "https://fosstodon.org/@JoshuaKGoldberg",
Expand Down Expand Up @@ -458,4 +459,4 @@
"location": "Canada"
}
]
}
}
28 changes: 24 additions & 4 deletions src/_includes/components/profile.macro.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</p>
</div>

<div class="profile__social-links">
<div class="profile__social-links a ">
JoshuaKGoldberg marked this conversation as resolved.
Show resolved Hide resolved
<ul>
{% if params.website %}
<li>
Expand All @@ -36,6 +36,16 @@
</a>
</li>
{% endif %}
{% if params.bluesky %}
<li>
<a href="https://bsk.app/profile/{{ params.bluesky }}">
<svg width="20" height="20" viewBox="0 0 64 57" role="img" aria-label="Bluesky">
<path fill="#98A2B3" d="M13.873 3.805C21.21 9.332 29.103 20.537 32 26.55v15.882c0-.338-.13.044-.41.867-1.512 4.456-7.418 21.847-20.923 7.944-7.111-7.32-3.819-14.64 9.125-16.85-7.405 1.264-15.73-.825-18.014-9.015C1.12 23.022 0 8.51 0 6.55 0-3.268 8.579-.182 13.873 3.805ZM50.127 3.805C42.79 9.332 34.897 20.537 32 26.55v15.882c0-.338.13.044.41.867 1.512 4.456 7.418 21.847 20.923 7.944 7.111-7.32 3.819-14.64-9.125-16.85 7.405 1.264 15.73-.825 18.014-9.015C62.88 23.022 64 8.51 64 6.55c0-9.818-8.578-6.732-13.873-2.745Z" />
/>
</svg>
</a>
</li>
{% endif %}
{% if params.twitter %}
<li>
<a href="https://twitter.com/{{ params.twitter }}">
Expand All @@ -51,7 +61,7 @@
<svg width="20" height="20" viewBox="0 0 216.4144 232.00976" role="img" aria-label="Mastodon">
<path d="M211.80734 139.0875c-3.18125 16.36625-28.4925 34.2775-57.5625 37.74875-15.15875 1.80875-30.08375 3.47125-45.99875 2.74125-26.0275-1.1925-46.565-6.2125-46.565-6.2125 0 2.53375.15625 4.94625.46875 7.2025 3.38375 25.68625 25.47 27.225 46.39125 27.9425 21.11625.7225 39.91875-5.20625 39.91875-5.20625l.8675 19.09s-14.77 7.93125-41.08125 9.39c-14.50875.7975-32.52375-.365-53.50625-5.91875C9.23234 213.82 1.40609 165.31125.20859 116.09125c-.365-14.61375-.14-28.39375-.14-39.91875 0-50.33 32.97625-65.0825 32.97625-65.0825C49.67234 3.45375 78.20359.2425 107.86484 0h.72875c29.66125.2425 58.21125 3.45375 74.8375 11.09 0 0 32.975 14.7525 32.975 65.0825 0 0 .41375 37.13375-4.59875 62.915" fill="#98A2B3" />
<path d="M177.50984 80.077v60.94125h-24.14375v-59.15c0-12.46875-5.24625-18.7975-15.74-18.7975-11.6025 0-17.4175 7.5075-17.4175 22.3525v32.37625H96.20734V85.42325c0-14.845-5.81625-22.3525-17.41875-22.3525-10.49375 0-15.74 6.32875-15.74 18.7975v59.15H38.90484V80.077c0-12.455 3.17125-22.3525 9.54125-29.675 6.56875-7.3225 15.17125-11.07625 25.85-11.07625 12.355 0 21.71125 4.74875 27.8975 14.2475l6.01375 10.08125 6.015-10.08125c6.185-9.49875 15.54125-14.2475 27.8975-14.2475 10.6775 0 19.28 3.75375 25.85 11.07625 6.36875 7.3225 9.54 17.22 9.54 29.675" fill="var(--lighter-background-color)" />
</svg>
</svg>
</a>
</li>
{% endif %}
Expand Down Expand Up @@ -89,7 +99,7 @@
@{{ params.handle }}
</a>
{%- endif -%}
<div class="profile__social-links">
<div class="profile__social-links b">
<ul>
{% if params.website %}
<li>
Expand All @@ -109,6 +119,16 @@
</a>
</li>
{% endif %}
{% if params.bluesky %}
<li>
<a href="https://bsk.app/profile/{{ params.bluesky }}">
<svg width="20" height="20" viewBox="0 0 64 57" role="img" aria-label="Bluesky">
<path fill="#98A2B3" d="M13.873 3.805C21.21 9.332 29.103 20.537 32 26.55v15.882c0-.338-.13.044-.41.867-1.512 4.456-7.418 21.847-20.923 7.944-7.111-7.32-3.819-14.64 9.125-16.85-7.405 1.264-15.73-.825-18.014-9.015C1.12 23.022 0 8.51 0 6.55 0-3.268 8.579-.182 13.873 3.805ZM50.127 3.805C42.79 9.332 34.897 20.537 32 26.55v15.882c0-.338.13.044.41.867 1.512 4.456 7.418 21.847 20.923 7.944 7.111-7.32 3.819-14.64-9.125-16.85 7.405 1.264 15.73-.825 18.014-9.015C62.88 23.022 64 8.51 64 6.55c0-9.818-8.578-6.732-13.873-2.745Z" />
/>
</svg>
</a>
</li>
{% endif %}
{% if params.twitter %}
<li>
<a href="https://twitter.com/{{ params.twitter }}">
Expand All @@ -124,7 +144,7 @@
<svg width="20" height="20" viewBox="0 0 216.4144 232.00976" role="img" aria-label="Mastodon">
<path d="M211.80734 139.0875c-3.18125 16.36625-28.4925 34.2775-57.5625 37.74875-15.15875 1.80875-30.08375 3.47125-45.99875 2.74125-26.0275-1.1925-46.565-6.2125-46.565-6.2125 0 2.53375.15625 4.94625.46875 7.2025 3.38375 25.68625 25.47 27.225 46.39125 27.9425 21.11625.7225 39.91875-5.20625 39.91875-5.20625l.8675 19.09s-14.77 7.93125-41.08125 9.39c-14.50875.7975-32.52375-.365-53.50625-5.91875C9.23234 213.82 1.40609 165.31125.20859 116.09125c-.365-14.61375-.14-28.39375-.14-39.91875 0-50.33 32.97625-65.0825 32.97625-65.0825C49.67234 3.45375 78.20359.2425 107.86484 0h.72875c29.66125.2425 58.21125 3.45375 74.8375 11.09 0 0 32.975 14.7525 32.975 65.0825 0 0 .41375 37.13375-4.59875 62.915" fill="#98A2B3" />
<path d="M177.50984 80.077v60.94125h-24.14375v-59.15c0-12.46875-5.24625-18.7975-15.74-18.7975-11.6025 0-17.4175 7.5075-17.4175 22.3525v32.37625H96.20734V85.42325c0-14.845-5.81625-22.3525-17.41875-22.3525-10.49375 0-15.74 6.32875-15.74 18.7975v59.15H38.90484V80.077c0-12.455 3.17125-22.3525 9.54125-29.675 6.56875-7.3225 15.17125-11.07625 25.85-11.07625 12.355 0 21.71125 4.74875 27.8975 14.2475l6.01375 10.08125 6.015-10.08125c6.185-9.49875 15.54125-14.2475 27.8975-14.2475 10.6775 0 19.28 3.75375 25.85 11.07625 6.36875 7.3225 9.54 17.22 9.54 29.675" fill="var(--lighter-background-color)" />
</svg>
</svg>
</a>
</li>
{% endif %}
Expand Down
2 changes: 2 additions & 0 deletions src/_includes/layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@
title: all_authors[author].title,
handle: all_authors[author].username,
github: all_authors[author].github_username,
bluesky: all_authors[author].bluesky_url,
JoshuaKGoldberg marked this conversation as resolved.
Show resolved Hide resolved
twitter: all_authors[author].twitter_username,
mastodon: all_authors[author].mastodon_url,
bio: all_authors[author].bio
}) }}
{% endfor %}
Expand Down
1 change: 1 addition & 0 deletions src/_includes/partials/author_bios/joshuakgoldberg.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
I'm involved with projects in the TypeScript ecosystem such as typescript-eslint, and wrote *Learning TypeScript* (O'Reilly).
Loading