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-05-19 10:33:21 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-05-19 10:33:21 +0300
commit36a59d088eca61b834191dacea009677a96c052f (patch)
treee4f33972dab5d8ef79e3944a9f403035fceea43f /.eslintrc.yml
parenta1761f15ec2cae7c7f7bbda39a75494add0dfd6f (diff)
Add latest changes from gitlab-org/gitlab@15-0-stable-eev15.0.0-rc42
Diffstat (limited to '.eslintrc.yml')
-rw-r--r--.eslintrc.yml14
1 files changed, 12 insertions, 2 deletions
diff --git a/.eslintrc.yml b/.eslintrc.yml
index 7f45fd912a9..1dec5db472a 100644
--- a/.eslintrc.yml
+++ b/.eslintrc.yml
@@ -38,6 +38,15 @@ rules:
promise/always-return: off
promise/no-callback-in-promise: off
'@gitlab/no-global-event-off': error
+ '@gitlab/vue-no-new-non-primitive-in-template':
+ - error
+ - allowNames:
+ - 'class(es)?$'
+ - '^style$'
+ - '^to$'
+ - '^$'
+ - '^variables$'
+ - 'attrs?$'
no-param-reassign:
- error
- props: true
@@ -97,6 +106,8 @@ rules:
- error
- selector: ImportSpecifier[imported.name='GlSkeletonLoading']
message: 'Migrate to GlSkeletonLoader, or import GlDeprecatedSkeletonLoading.'
+ # See https://gitlab.com/gitlab-org/gitlab/-/issues/360551
+ vue/multi-word-component-names: off
overrides:
- files:
- '{,ee/,jh/}spec/frontend*/**/*'
@@ -139,8 +150,7 @@ overrides:
parser: '@graphql-eslint/eslint-plugin'
operations:
- '{,ee/,jh/}app/**/*.graphql'
- # You can run `bundle exec rake gitlab:graphql:schema:dump` and then uncomment this line
- # schema: './tmp/tests/graphql/gitlab_schema.graphql'
+ schema: './tmp/tests/graphql/gitlab_schema_apollo.graphql'
rules:
filenames/match-regex: off
spaced-comment: off