chimi
chimi copied to clipboard
Validate JavaScript code from your README
Hi Guys! Just by chance I remembered about this project and just by chance I was going to look at the source but couldn't find it. Am i missing something...
I don't think is necessary to print the snippet stdout, it could opt in, maybe in a some kind of verbose mode.
Maybe with a flag (`-d`) we could show the whole snippet when it errors.
Add - ES2015+ coverage - Roadmap
We are already not running the snippets that have parsing errors, should be a similar approach.
Consider the following files ``` /my-module |__ README.md |__ docs/ | |__ doc.md |__ src/ |__ index.js ``` This `chimi.config.js` ```js module.exports = { aliases: { 'my-module': `./src/` } }...
There are several things we could improve in the way the CLI works - `chimi [glob1] [globN]` instead of `chimi -f [glob1]` - allow subcommands - help (only works as...
If a module cannot be `require`d, the stacktrace shows the `snippet-${Math.random()}` file instead of the proper line in the readme. I'm not sure why does that happen, I'm guessing a...
I like it when libraries refuse to work if they see an option in the configuration that they don't recognize. This avoids... I'm not even to give the reasons, I'm...
Many things are not tested. We are getting away with the `e2e` setup but I think is not enough, some more unit tests would be good too.