Skip to content

Commit 4dc9404

Browse files
committed
Turn off no-else-return
We use if (condition) return else doSomethingElse a lot. Release version 1.0.4.
1 parent 000027f commit 4dc9404

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ module.exports = {
7777

7878
'jsx-quotes': 'off',
7979

80+
'no-else-return': 'off',
8081
'no-extra-semi': 'error',
8182
'no-warning-comments': ['warn', { 'terms': ['FIXME', 'TODO', 'TO-DO', 'HACK', 'HERE BE DRAGONS'], 'location': 'anywhere' }],
8283
'no-undefined': 'warn',

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-config-tree",
3-
"version": "1.0.3",
3+
"version": "1.0.4",
44
"description": "Shared Tree configuration that contains overrides and enhancements on top of the base frontier configuration.",
55
"main": "index.js",
66
"repository": {

0 commit comments

Comments
 (0)