diff options
author | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-08-04 15:13:21 +0300 |
---|---|---|
committer | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-08-04 15:13:21 +0300 |
commit | a7a504b018f90cb9b23a406d310183547d0f5c95 (patch) | |
tree | 564ceb346cf3a234937f131576ac8ca840f86a00 | |
parent | d0bb0d6e47ea2e9ef664af5efbad66e9ec204669 (diff) |
Allow __ function for no-underscore-dangle eslint rule
-rw-r--r-- | .eslintrc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.eslintrc b/.eslintrc index c72a5e0335b..0d5ffbe418d 100644 --- a/.eslintrc +++ b/.eslintrc @@ -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": ["__"]}], } } |