Add a line in the documentation about the role of prettier within eslint configuration

This commit is contained in:
Julie Lenaerts 2025-01-21 10:36:45 +01:00
parent ec2c08681e
commit 59fd9fc63f

View File

@ -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