From 301eb883d18690bc2a743c14e7d3dbbdbf856855 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=94=AF=E7=84=B6?= Date: Mon, 8 Apr 2024 17:33:14 +0800 Subject: [PATCH] feat: add `name` to flat configs refs: https://github.com/eslint/eslint/pull/18252 --- lib/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/index.js b/lib/index.js index 3996fdb2..9f5d60f8 100644 --- a/lib/index.js +++ b/lib/index.js @@ -74,6 +74,7 @@ Object.assign( Object.keys(configFilters).reduce((configs, configName) => { return Object.assign(configs, { [`flat/${configName}`]: { + name: `eslint-plugin/flat/${configName}`, plugins: { 'eslint-plugin': plugin }, rules: Object.fromEntries( Object.keys(allRules)