datatlas-erasme / front

🗺 [DEPRECATED] DatAtlas frontend is an interface to create maps with custom data, style and features.
https://github.com/datatlas-erasme/datatlas
6 stars 0 forks source link

Introduce eslint no-console rule #115

Closed lutangar closed 2 years ago

lutangar commented 2 years ago

This forbid console.log usages in the code, meaning you mustn't push such code but you can still use it in the development process.

This rule is configurable : https://eslint.org/docs/latest/rules/no-console

You may keep some special console statement when you feel it's required :

// eslint-disable-next-line no-console
console.error('This error must appears in the web browser console.');