Explain eslint philosophy

This commit is contained in:
Florian Bruhin 2017-12-15 23:26:18 +01:00
parent b8a5c04b69
commit d03e314762

View File

@ -1,3 +1,15 @@
# qutebrowser's way of using eslint is perhaps a bit untypical: We turn on *all*
# the checks eslint has to offer, and then selectively disable/reconfigure the
# ones which got in the way below.
#
# This makes eslint much stricter (which is good). However, it means you might
# run into a case where you totally disagree with what it says, because some
# check is not useful or desired for qutebrowser, but nobody did run into it
# yet.
#
# In those cases, it's absolutely okay to modify this config as part of your PR.
# See it as a way to fine-tune eslint rather than a rigid style guide.
env:
browser: true