unifiedjs / unified-engine

Engine to process multiple files with unified
https://unifiedjs.com
MIT License
56 stars 23 forks source link

Add ESM example of rc file #54

Closed ludofischer closed 3 years ago

ludofischer commented 3 years ago

Initial checklist

Description of changes

I've added an example of the syntax for an ESM configuration file. I hope it's correct, I have found it by trial and error :joy: ( I was not sure whether to use default export or a named export for every file as on issue https://github.com/remarkjs/remark/issues/654)

ludofischer commented 3 years ago

There's TypeScript errors that also happen on the main branch.

codecov-commenter commented 3 years ago

Codecov Report

Merging #54 (1998422) into main (8d73245) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##              main       #54   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           23        23           
  Lines         2505      2513    +8     
=========================================
+ Hits          2505      2513    +8     
Impacted Files Coverage Δ
lib/configuration.js 100.00% <0.00%> (ø)
lib/file-pipeline/parse.js 100.00% <0.00%> (ø)
lib/file-pipeline/configure.js 100.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 8d73245...1998422. Read the comment docs.

wooorm commented 3 years ago

Thanks!

github-actions[bot] commented 3 years ago

Hi! This was closed. Team: If this was merged, please describe when this is likely to be released. Otherwise, please add one of the no/* labels.