Allow __ function for no-underscore-dangle eslint rule

This commit is contained in:
Luke "Jared" Bennett 2017-08-04 13:13:21 +01:00
parent d0bb0d6e47
commit a7a504b018
No known key found for this signature in database
GPG Key ID: 402ED51FB5D306C2
1 changed files with 2 additions and 1 deletions

View File

@ -30,6 +30,7 @@
"filenames/match-regex": [2, "^[a-z0-9_]+$"],
"import/no-commonjs": "error",
"no-multiple-empty-lines": ["error", { "max": 1 }],
"promise/catch-or-return": "error"
"promise/catch-or-return": "error",
"no-underscore-dangle": ["error", { "allow": ["__"]}],
}
}