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:
Diffstat (limited to '.eslintrc.yml')
-rw-r--r--.eslintrc.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.eslintrc.yml b/.eslintrc.yml
index e80b2e6d9eb..549f1771593 100644
--- a/.eslintrc.yml
+++ b/.eslintrc.yml
@@ -95,7 +95,7 @@ rules:
order: ignore
overrides:
- files:
- - '**/spec/**/*'
+ - '{,ee/,jh/}spec/frontend*/**/*'
rules:
'@gitlab/require-i18n-strings': off
'@gitlab/no-runtime-template-compiler': off
@@ -103,6 +103,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/**/*'