1
0
mirror of https://github.com/adobe/brackets.git synced 2024-11-20 18:02:54 +01:00

add no-else-return warning

This commit is contained in:
Martin Zagora 2017-03-02 12:19:58 +11:00
parent 8dc4e61753
commit 6972372252

View File

@ -47,7 +47,11 @@ module.exports = {
"no-trailing-spaces": 0,
"eol-last": 0,
"max-len": [1, 120]
"max-len": [1, 120],
// the rules below should be sorted in a same way they are sorted on http://eslint.org/docs/rules page
// http://eslint.org/docs/rules/#best-practices
"no-else-return": 1
},
"globals": {
"brackets": false,