From c87f57a3c18f68a6d445505f9ba8bfd05f558a42 Mon Sep 17 00:00:00 2001 From: abdelhak aissat Date: Fri, 5 Aug 2022 17:35:09 +0100 Subject: [PATCH] docs: add code consistency commands and mention --- docs/install_and_upgrade_doccano.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/install_and_upgrade_doccano.md b/docs/install_and_upgrade_doccano.md index 6e41195c..f8474bbf 100644 --- a/docs/install_and_upgrade_doccano.md +++ b/docs/install_and_upgrade_doccano.md @@ -175,6 +175,15 @@ Then run the `dev` command to serve with hot reload at : yarn dev ``` +After you change the code, don't forget to run +the following commands to ensure code consistency: + +```bash +yarn lintfix +yarn precommit +yarn fix:prettier +``` + ### How to create a Python package During development, you may want to create a Python package and verify it works correctly. In such a case, you can create a package by running the following command in the root directory of your project: