From 59fd9fc63f87e927d90acf7a8121e1115e558343 Mon Sep 17 00:00:00 2001 From: Julie Lenaerts Date: Tue, 21 Jan 2025 10:36:45 +0100 Subject: [PATCH] Add a line in the documentation about the role of prettier within eslint configuration --- docs/source/development/es-lint.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/source/development/es-lint.rst b/docs/source/development/es-lint.rst index f9ca9f042..f8504e082 100644 --- a/docs/source/development/es-lint.rst +++ b/docs/source/development/es-lint.rst @@ -12,6 +12,8 @@ This runs eslint **not** taking the baseline into account, thus showing all exis A script was also added to package.json allowing you to execute ``yarn run eslint``. This will run eslint, but **taking the baseline into account**, thus only alerting to newly created errors. +The eslint command is configured to also run ``prettier`` which will simply format the code to look more uniform (takes care indentation for example). + Interesting options that can be used in combination with eslint are: - ``--quiet`` to only get errors and silence the warnings