hpi-schul-cloud / schulcloud-server

Schulcloud-Verbund-Software-Server
GNU Affero General Public License v3.0
74 stars 17 forks source link

Add linter to avoid stuff like console.log in pull requests and code #237

Closed janrenz closed 5 years ago

pinussilvestrus commented 7 years ago

Actually we have this linting option enabled: https://github.com/schul-cloud/schulcloud-server/blob/master/.eslintrc.json#L15

This automatically enables the no-console option (https://eslint.org/docs/rules/no-console). Travis just fails when there is a console log. So this can be closed.