summaryrefslogtreecommitdiff
path: root/.eslintrc
diff options
context:
space:
mode:
authorKushal Pandya <kushal@gitlab.com>2018-02-16 15:13:34 +0530
committerKushal Pandya <kushal@gitlab.com>2018-02-16 15:13:34 +0530
commitf80c5730bec095bbcf45c395c94f3c44452a6442 (patch)
treeaf900430ba7fd9f691b57f2b391110874ee8fb88 /.eslintrc
parent049d2cc43511e89ce8719ae59d844ea306c5a641 (diff)
downloadgitlab-ce-f80c5730bec095bbcf45c395c94f3c44452a6442.tar.gz
Ignore `_links` property for no-underscore-dangle rule
Diffstat (limited to '.eslintrc')
-rw-r--r--.eslintrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.eslintrc b/.eslintrc
index ad5eaebccae..8f9cdfb14ac 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -36,7 +36,7 @@
"import/no-commonjs": "error",
"no-multiple-empty-lines": ["error", { "max": 1 }],
"promise/catch-or-return": "error",
- "no-underscore-dangle": ["error", { "allow": ["__"]}],
+ "no-underscore-dangle": ["error", { "allow": ["__", "_links"]}],
"vue/html-self-closing": ["error", {
"html": {
"void": "always",