n-thumann / IPTV-ReStream

An app to forward source specific multicast streams via HTTP
BSD 3-Clause "New" or "Revised" License
103 stars 36 forks source link

Inhibit eslint to successfully exit with warnings #154

Closed n-thumann closed 2 years ago

n-thumann commented 2 years ago

Currently, it's possible for eslint to have warnings and still exit with code 0. This causes the CI to pass, even if there are warnings. This PR therefore sets the --max-warnings (see https://eslint.org/docs/user-guide/command-line-interface#--max-warnings) parameter to 0 so that eslint will exit with 1, if there are any warnings.