From 31ad6181e11977634a9ab4a30635bb4516acbbf8 Mon Sep 17 00:00:00 2001 From: silverwind Date: Mon, 15 May 2023 19:29:23 +0200 Subject: Switch to `@eslint-community/eslint-comments` (#24736) [eslint-plugin-eslint-comments](https://github.com/mysticatea/eslint-plugin-eslint-comments) is unmaintained, switch to the community fork. See https://github.com/mysticatea/eslint-plugin-eslint-comments/issues/72 for discussion. --- .eslintrc.yaml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to '.eslintrc.yaml') diff --git a/.eslintrc.yaml b/.eslintrc.yaml index d47d8c0349..fd1b6da2c0 100644 --- a/.eslintrc.yaml +++ b/.eslintrc.yaml @@ -9,15 +9,15 @@ parserOptions: ecmaVersion: latest plugins: - - eslint-plugin-unicorn + - "@eslint-community/eslint-plugin-eslint-comments" + - eslint-plugin-custom-elements - eslint-plugin-import - eslint-plugin-jquery - eslint-plugin-no-jquery - - eslint-plugin-sonarjs - - eslint-plugin-custom-elements - eslint-plugin-regexp + - eslint-plugin-sonarjs + - eslint-plugin-unicorn - eslint-plugin-wc - - eslint-plugin-eslint-comments env: es2022: true @@ -45,6 +45,15 @@ overrides: import/no-unused-modules: [0] rules: + "@eslint-community/eslint-comments/disable-enable-pair": [2] + "@eslint-community/eslint-comments/no-aggregating-enable": [2] + "@eslint-community/eslint-comments/no-duplicate-disable": [2] + "@eslint-community/eslint-comments/no-restricted-disable": [0] + "@eslint-community/eslint-comments/no-unlimited-disable": [2] + "@eslint-community/eslint-comments/no-unused-disable": [2] + "@eslint-community/eslint-comments/no-unused-enable": [2] + "@eslint-community/eslint-comments/no-use": [0] + "@eslint-community/eslint-comments/require-description": [0] accessor-pairs: [2] array-bracket-newline: [0] array-bracket-spacing: [2, never] @@ -87,15 +96,6 @@ rules: dot-notation: [0] eol-last: [2] eqeqeq: [2] - eslint-comments/disable-enable-pair: [2] - eslint-comments/no-aggregating-enable: [2] - eslint-comments/no-duplicate-disable: [2] - eslint-comments/no-restricted-disable: [0] - eslint-comments/no-unlimited-disable: [2] - eslint-comments/no-unused-disable: [2] - eslint-comments/no-unused-enable: [2] - eslint-comments/no-use: [0] - eslint-comments/require-description: [0] for-direction: [2] func-call-spacing: [2, never] func-name-matching: [2] -- cgit v1.2.3