Switch consistent-return rule to warning mode

eslint-config-openstack has this rule enabled, but in fuel-ui
it was disabled due to large number of violations. We need to
have as little overrides as possible. Also, this rule would help
us with new behaviour of jQuery v3 promises.

Change-Id: Iaeca17feb88bbd6ca51cd1e4727609a6298e5acf
This commit is contained in:
Vitaly Kramskikh 2016-06-17 15:13:39 +03:00
parent 15d4da487e
commit 89e3185a13
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
extends: openstack
rules:
# disabled rules from openstack config
consistent-return: 0 # we have lots of incosistent returns which aren't errors
consistent-return: 1 # we have lots of incosistent returns which need to be fixed
no-extra-parens: 0 # extra parens are preferred with JSX
no-warning-comments: 0 # we're ok with FIXMEs
no-process-env: 0 # we use it in a few places and are ok with it