chore(ci): eslint + prettier → biome (#325)

This commit is contained in:
Sam Potts
2026-01-23 11:33:04 +00:00
committed by GitHub
parent 93d8b95b2d
commit bf76dfa593
204 changed files with 1172 additions and 4443 deletions
+2 -1
View File
@@ -1,3 +1,4 @@
// biome-ignore lint/suspicious/noShadowRestrictedNames: 🤷
import { toString } from 'mdast-util-to-string';
import getReadingTime from 'reading-time';
@@ -7,7 +8,7 @@ import getReadingTime from 'reading-time';
* adapted from https://docs.astro.build/en/recipes/reading-time/
*/
export function remarkReadingTime() {
return function (tree, { data }) {
return (tree, { data }) => {
const textOnPage = toString(tree);
const readingTime = getReadingTime(textOnPage);