[READ-ONLY] Mirror of https://github.com/shuuji3/mrm-lab. experimental playground of mrm
0

Configure Feed

Select the types of activity you want to include in your feed.

Shell 11.8%
JavaScript 11.2%
Other 77.1%
13 1 0

Clone this repository

https://git.vm.fail/shuuji3.xyz/mrm-lab https://git.vm.fail/did:plc:33l5e4gurbtle2i2pye3zs54
ssh://git@knot1.tangled.sh:2222/shuuji3.xyz/mrm-lab ssh://git@knot1.tangled.sh:2222/did:plc:33l5e4gurbtle2i2pye3zs54

For self-hosted knots, clone URLs may differ based on your setup.


README.md

mrm-lab#

experimental playground of mrm

How to play#

Try to commit a broken file and see let us observe how Prettier, set up by mrm, prevent the commit!

> git clone https://github.com/shuuji3/mrm-lab && cd mrm-lab/
> npm i
> echo 'bad change' >> hello.js
> git add .
> git commit -m 'Commit a bad change'
✔ Preparing...
⚠ Running tasks...
  ❯ Running tasks for *.{js,jsx,scss,css,html,md}
    ✖ prettier --write --loglevel warn [FAILED]
↓ Skipped because of errors from tasks. [SKIPPED]
✔ Reverting to original state because of errors...
✔ Cleaning up...

✖ prettier --write --loglevel warn:
[error] hello.js: SyntaxError: Unexpected token, expected "," (4:21)
[error]   2 |
[error]   3 |   1 + 2;
[error] > 4 |   console.log("hello";
[error]     |                      ^
[error]   5 |   const x = 1;
[error]   6 |
[error]   7 |

References#