noi-techpark / it.bz.opendatahub.databrowser

Explore and navigate through Open Data you need to build your next service.
https://databrowser.opendatahub.com
GNU Affero General Public License v3.0
8 stars 7 forks source link

Document info about eslint and prettier on VSCode #470

Open gappc opened 7 months ago

gappc commented 7 months ago

As it turns out, line endings are still problematic when using different OS (Windows / Linux). The usage of eslint should minimize the problem, but if the linter is run on the command line there are still problems (see comment https://github.com/noi-techpark/it.bz.opendatahub.databrowser/pull/458#issuecomment-1840948734).

In VSCode, one thing a developer can do is to use the eslint-prettier plugin. This info should be part of the documentation.

It would also be nice to know why running eslint on the command line does not work as expected, while using the VSCode plugin works.