summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2018-02-16 10:21:45 +0000
committerPhil Hughes <me@iamphill.com>2018-02-16 10:21:45 +0000
commitc94f25e16649d74288dd167b8428739b4f7b9b22 (patch)
treeaf900430ba7fd9f691b57f2b391110874ee8fb88
parent049d2cc43511e89ce8719ae59d844ea306c5a641 (diff)
parentf80c5730bec095bbcf45c395c94f3c44452a6442 (diff)
downloadgitlab-ce-c94f25e16649d74288dd167b8428739b4f7b9b22.tar.gz
Merge branch '43247-eslint-exception-for-links' into 'master'
Add ESLint exception for `_links` property Closes #43247 See merge request gitlab-org/gitlab-ce!17170
-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",