Alf Eaton
Alf Eaton
You can do this with [a template](https://github.com/Stuk/eslint-plugin-header#regular-expressions) and a variable: ``` // eslintrc.js const year = new Date().getFullYear() module.exports = () => { "rules": { "header/header": [2, "block", [ {"pattern":...
Running the [HTML5 Outliner](https://h5o.github.io/) bookmarklet on the updated HTML shows that the outline is improved:  compared to [the current sample HTML](http://thomaspark.co/project/pubcss/demo/acm-sig-sample-web.html), where most...
It does seems like requiring sections for every level might be too much to ask of articles authored in Markdown (and in fact [Paper Now](https://github.com/PeerJ/paper-now), where I'm hoping to use...
Here's an implementation of that idea: https://github.com/thomaspark/pubcss/compare/master...hubgit:heading-sections The main changes are - removing the `` tags that don't have an associated heading - wrapping the main article content in a...
> Always have results be returned as hook.results.data. This reduces boilerplate we need to write to check if a response is paginated in each hook. This probably needs a separate...
I've had some luck with the following approach: `cypress/support/msw.js`: ```js import { setupWorker } from 'msw' export const serviceWorker = setupWorker() export const waitForServiceWorker = serviceWorker.start({ serviceWorker: { url: '/mockServiceWorker.js',...
It would be great if [the `@babel/preset-typescript` docs](https://babeljs.io/docs/en/babel-preset-typescript) mentioned how to use this plugin with `@babel/preset-env`, with an example showing them in the right order.
I wonder if the existing [PayAction](http://schema.org/PayAction) would be appropriate (perhaps with an inverse property).
Exploring some terms (deliberately broad, to try to include all the possiblities): - grant - payment / Pay (agent, recipient, description, amount, start + end date) - sponsor (in some...
An experiment at giving grant donors a "contributor" role on the work: ``` yaml [http://example.org/works/1]: type: CreativeWork contributor: - type: FundingRole roleName: "donor" # could be "sponsor", "backer", etc contributor:...