diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-24 18:15:38 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-24 18:15:38 +0300 |
commit | efbf661c4224d481c57d0346e26983a805e5ec93 (patch) | |
tree | 4736f287350884cb49d84a09c52c8c2e1b851080 /.eslintrc.yml | |
parent | 4720346c2e10e1ff62a20b39dfc9866eb88858e6 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to '.eslintrc.yml')
-rw-r--r-- | .eslintrc.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.eslintrc.yml b/.eslintrc.yml index 0b242e4cb94..85c40e7ec05 100644 --- a/.eslintrc.yml +++ b/.eslintrc.yml @@ -117,6 +117,11 @@ rules: message: 'Migrate to GlSkeletonLoader, or import GlDeprecatedSkeletonLoading.' - selector: ImportSpecifier[imported.name='GlSafeHtmlDirective'] message: 'Use directive at ~/vue_shared/directives/safe_html.js instead.' + no-restricted-imports: + - error + - paths: + - name: mousetrap + message: "Import { Mousetrap } from ~/lib/mousetrap instead." # See https://gitlab.com/gitlab-org/gitlab/-/issues/360551 vue/multi-word-component-names: off unicorn/prefer-dom-node-dataset: |