From c31df34d18c2cb6d80e077368a7df2d5ded4b7c6 Mon Sep 17 00:00:00 2001 From: Dariusz Niemczyk <3636685+Palid@users.noreply.github.com> Date: Mon, 10 May 2021 15:32:56 +0200 Subject: [PATCH] Hardcode mrm@2 in the documentation Due to some changed in mrm@3 the entire installation task fails without easily searchable solution. This fixes the problem by hard locking mrm to @2 for as long as it's not solved properly. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 80735232e..449828b0a 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ This project contains a script that will run arbitrary shell tasks with a list o The fastest way to start using lint-staged is to run the following command in your terminal: ```bash -npx mrm lint-staged +npx mrm@2 lint-staged ``` This command will install and configure [husky](https://github.com/typicode/husky) and lint-staged depending on the code quality tools from your project's `package.json` dependencies, so please make sure you install (`npm install --save-dev`) and configure all code quality tools like [Prettier](https://prettier.io) and [ESLint](https://eslint.org) prior to that.