diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-05-19 07:33:21 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-05-19 07:33:21 +0000 |
commit | 36a59d088eca61b834191dacea009677a96c052f (patch) | |
tree | e4f33972dab5d8ef79e3944a9f403035fceea43f /.eslintrc.yml | |
parent | a1761f15ec2cae7c7f7bbda39a75494add0dfd6f (diff) | |
download | gitlab-ce-36a59d088eca61b834191dacea009677a96c052f.tar.gz |
Add latest changes from gitlab-org/gitlab@15-0-stable-eev15.0.0-rc42
Diffstat (limited to '.eslintrc.yml')
-rw-r--r-- | .eslintrc.yml | 14 |
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 |