diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-01-27 15:11:41 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-01-27 15:11:41 +0300 |
commit | 115190b6cd73b4ba1948cf26ea883738934c614b (patch) | |
tree | 45f672c81044377534b7e8e184b4e793a8c8f1dd /.eslintrc.yml | |
parent | 43511919ac44a093aa93df46fba8f308ae8ddaac (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to '.eslintrc.yml')
-rw-r--r-- | .eslintrc.yml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.eslintrc.yml b/.eslintrc.yml index e80b2e6d9eb..17459804a7d 100644 --- a/.eslintrc.yml +++ b/.eslintrc.yml @@ -95,7 +95,8 @@ rules: order: ignore overrides: - files: - - '**/spec/**/*' + - 'ee/spec/frontend*/**/*' + - 'spec/frontend*/**/*' rules: '@gitlab/require-i18n-strings': off '@gitlab/no-runtime-template-compiler': off @@ -103,6 +104,8 @@ overrides: - error - selector: CallExpression[callee.object.name=/(wrapper|vm)/][callee.property.name="setData"] message: 'Avoid using "setData" on VTU wrapper' + - selector: MemberExpression[object.type!='ThisExpression'][property.type='Identifier'][property.name='$nextTick'] + message: 'Using $nextTick from a component instance is discouraged. Import nextTick directly from the Vue package.' - files: - 'config/**/*' - 'scripts/**/*' |