diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-19 23:18:09 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-19 23:18:09 +0000 |
commit | 6ed4ec3e0b1340f96b7c043ef51d1b33bbe85fde (patch) | |
tree | dc4d20fe6064752c0bd323187252c77e0a89144b /.eslintrc.yml | |
parent | 9868dae7fc0655bd7ce4a6887d4e6d487690eeed (diff) | |
download | gitlab-ce-6ed4ec3e0b1340f96b7c043ef51d1b33bbe85fde.tar.gz |
Add latest changes from gitlab-org/gitlab@15-4-stable-eev15.4.0-rc42
Diffstat (limited to '.eslintrc.yml')
-rw-r--r-- | .eslintrc.yml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/.eslintrc.yml b/.eslintrc.yml index af2f1d88938..659ed2a0010 100644 --- a/.eslintrc.yml +++ b/.eslintrc.yml @@ -3,6 +3,7 @@ extends: - plugin:@gitlab/i18n - plugin:no-jquery/slim - plugin:no-jquery/deprecated-3.4 + - plugin:no-unsanitized/DOM - ./tooling/eslint-config/conditionally_ignore.js globals: __webpack_public_path__: true @@ -116,6 +117,14 @@ rules: vue/multi-word-component-names: off unicorn/prefer-dom-node-dataset: - error + no-unsanitized/method: + - error + - escape: + methods: 'sanitize' + no-unsanitized/property: + - error + - escape: + methods: 'sanitize' overrides: - files: - '{,ee/,jh/}spec/frontend*/**/*' @@ -134,6 +143,8 @@ overrides: 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.' + no-unsanitized/method: off + no-unsanitized/property: off - files: - 'config/**/*' - 'scripts/**/*' |