diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-12-29 15:10:45 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-12-29 15:10:45 +0000 |
commit | 51a7dc1b9d146b33ddf8ec167944151f4b58e620 (patch) | |
tree | 704e26d941c90ecc6215053a5f855174cc9a0e5c /.eslintrc.yml | |
parent | 21a78a7f74298cfd1a27b490bf6c94d2652e1167 (diff) | |
download | gitlab-ce-51a7dc1b9d146b33ddf8ec167944151f4b58e620.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to '.eslintrc.yml')
-rw-r--r-- | .eslintrc.yml | 4 |
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/**/*' |