Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKushal Pandya <kushal@gitlab.com>2018-02-16 12:43:34 +0300
committerKushal Pandya <kushal@gitlab.com>2018-02-16 12:43:34 +0300
commitf80c5730bec095bbcf45c395c94f3c44452a6442 (patch)
treeaf900430ba7fd9f691b57f2b391110874ee8fb88 /.eslintrc
parent049d2cc43511e89ce8719ae59d844ea306c5a641 (diff)
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",