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-04-01 00:08:16 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-04-01 00:08:16 +0300
commit32bbedbc214c30979168c8005c83259feb468540 (patch)
tree4fdc4817df2ce77440cd4894759100bbb22df806 /.eslintrc.yml
parente7fb61499317b3c044845817b991e13aea276955 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to '.eslintrc.yml')
-rw-r--r--.eslintrc.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.eslintrc.yml b/.eslintrc.yml
index f5814639b36..7f45fd912a9 100644
--- a/.eslintrc.yml
+++ b/.eslintrc.yml
@@ -93,6 +93,10 @@ rules:
group: internal
alphabetize:
order: ignore
+ 'no-restricted-syntax':
+ - error
+ - selector: ImportSpecifier[imported.name='GlSkeletonLoading']
+ message: 'Migrate to GlSkeletonLoader, or import GlDeprecatedSkeletonLoading.'
overrides:
- files:
- '{,ee/,jh/}spec/frontend*/**/*'
@@ -107,6 +111,8 @@ overrides:
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.'
+ - selector: ImportSpecifier[imported.name='GlSkeletonLoading']
+ message: 'Migrate to GlSkeletonLoader, or import GlDeprecatedSkeletonLoading.'
- files:
- 'config/**/*'
- 'scripts/**/*'