mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Add a line in the documentation about the role of prettier within eslint configuration
This commit is contained in:
parent
ec2c08681e
commit
59fd9fc63f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user