[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.

Create README.md

+31
+31
README.md
··· 1 + # mrm-lab 2 + 3 + experimental playground of [mrm](https://mrm.js.org/) 4 + 5 + ## How to play 6 + 7 + Try to commit a broken file and see let us observe how Prettier, set up by mrm, prevent the commit! 8 + 9 + ```sh 10 + > git clone https://github.com/shuuji3/mrm-lab && cd $_ 11 + > git reset @^ 12 + > git add . 13 + > git commit -m 'Commit a bad change' 14 + ✔ Preparing... 15 + ⚠ Running tasks... 16 + ❯ Running tasks for *.{js,jsx,scss,css,html,md} 17 + ✖ prettier --write --loglevel warn [FAILED] 18 + ↓ Skipped because of errors from tasks. [SKIPPED] 19 + ✔ Reverting to original state because of errors... 20 + ✔ Cleaning up... 21 + 22 + ✖ prettier --write --loglevel warn: 23 + [error] hello.js: SyntaxError: Unexpected token, expected "," (4:21) 24 + [error] 2 | 25 + [error] 3 | 1 + 2; 26 + [error] > 4 | console.log("hello"; 27 + [error] | ^ 28 + [error] 5 | const x = 1; 29 + [error] 6 | 30 + [error] 7 | 31 + ```