From d3bbb319052636a3ab39faf2072894797fcc51d3 Mon Sep 17 00:00:00 2001 From: Grace Park Date: Tue, 4 Feb 2025 20:30:23 +0000 Subject: [PATCH] update prettier plugin name --- lib/configs/flat/recommended.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/configs/flat/recommended.js b/lib/configs/flat/recommended.js index 96695ef3..748647ea 100644 --- a/lib/configs/flat/recommended.js +++ b/lib/configs/flat/recommended.js @@ -16,7 +16,7 @@ module.exports = { }, }, plugins: { - prettierPlugin, + prettier: prettierPlugin, 'eslint-comments': eslintComments, import: importPlugin, 'i18n-text': fixupPluginRules(i18nTextPlugin), @@ -131,7 +131,7 @@ module.exports = { 'prefer-rest-params': 'error', 'prefer-spread': 'error', 'prefer-template': 'error', - 'prettierPlugin/prettier': 'error', + 'prettier/prettier': 'error', 'require-yield': 'error', 'use-isnan': 'error', 'valid-typeof': 'error',