summaryrefslogtreecommitdiff
path: root/.eslintrc.yml
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-01-20 09:16:11 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-01-20 09:16:11 +0000
commitedaa33dee2ff2f7ea3fac488d41558eb5f86d68c (patch)
tree11f143effbfeba52329fb7afbd05e6e2a3790241 /.eslintrc.yml
parentd8a5691316400a0f7ec4f83832698f1988eb27c1 (diff)
downloadgitlab-ce-edaa33dee2ff2f7ea3fac488d41558eb5f86d68c.tar.gz
Add latest changes from gitlab-org/gitlab@14-7-stable-eev14.7.0-rc42
Diffstat (limited to '.eslintrc.yml')
-rw-r--r--.eslintrc.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.eslintrc.yml b/.eslintrc.yml
index 0f73a9c5105..e80b2e6d9eb 100644
--- a/.eslintrc.yml
+++ b/.eslintrc.yml
@@ -99,6 +99,10 @@ overrides:
rules:
'@gitlab/require-i18n-strings': off
'@gitlab/no-runtime-template-compiler': off
+ 'no-restricted-syntax':
+ - error
+ - selector: CallExpression[callee.object.name=/(wrapper|vm)/][callee.property.name="setData"]
+ message: 'Avoid using "setData" on VTU wrapper'
- files:
- 'config/**/*'
- 'scripts/**/*'