From a3aad5a15ddde38b2d74f04787f11571fe66c36b Mon Sep 17 00:00:00 2001 From: TonyRL Date: Mon, 13 Nov 2023 17:43:26 +0000 Subject: [PATCH] style: disable `beforeBlockComment` in `lines-around-comment` refs: #13769 --- .eslintrc.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 84b12b34eef056..d14424e9d02cc6 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,5 +1,5 @@ { - "extends": ["eslint:recommended", "plugin:n/recommended", "plugin:prettier/recommended", "plugin:yml/recommended"], + "extends": ["eslint:recommended", "@stylistic/js", "plugin:n/recommended", "plugin:prettier/recommended", "plugin:yml/recommended"], "plugins": ["prettier"], "parserOptions": { "ecmaVersion": "latest", @@ -63,7 +63,7 @@ "@stylistic/js/function-call-spacing": 2, "@stylistic/js/keyword-spacing": 2, "@stylistic/js/linebreak-style": 2, - "@stylistic/js/lines-around-comment": 2, + "@stylistic/js/lines-around-comment": ["error", { "beforeBlockComment": false }], "@stylistic/js/no-multiple-empty-lines": 2, "@stylistic/js/no-trailing-spaces": 2, "@stylistic/js/rest-spread-spacing": 2,