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:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-02-22 18:18:06 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-02-22 18:18:06 +0300
commit95b9a603c32ce361d1746d4a00c58cd180218d41 (patch)
tree421f77e48879154b06a6ac34e3d9fe5203cc504f /.eslintrc.yml
parent59f160b0cf3ca52fc25f827e57d0dc1273a50521 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to '.eslintrc.yml')
-rw-r--r--.eslintrc.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.eslintrc.yml b/.eslintrc.yml
index 549f1771593..f5814639b36 100644
--- a/.eslintrc.yml
+++ b/.eslintrc.yml
@@ -105,6 +105,8 @@ overrides:
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.'
+ - selector: Identifier[name='setImmediate']
+ message: 'Prefer explicit waitForPromises (or equivalent), or jest.runAllTimers (or equivalent) to vague setImmediate calls.'
- files:
- 'config/**/*'
- 'scripts/**/*'