From d49d95baebc1509781d330fb2226eae155ebca3f Mon Sep 17 00:00:00 2001 From: Brett Zamir Date: Tue, 23 Jul 2024 22:43:30 +0800 Subject: [PATCH] Name (#30) * feat: ES2023 `no-hashbang-comment` * feat: add `name` (for tooling) --------- Co-authored-by: Keith Cirkel --- lib/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/index.js b/lib/index.js index 9c0f43e..41873b7 100644 --- a/lib/index.js +++ b/lib/index.js @@ -46,6 +46,7 @@ const createRule = (name, browserstring, description, { ts = null } = {}) => { const flatConfigName = `flat/${configName}`; if (!module.exports.configs[configName]) { flatTypeScriptConfigs[configName] = [{ + name: `escompat/${configName}`, plugins: { escompat: module.exports }, @@ -246,6 +247,7 @@ module.exports.configs.recommended = { }; module.exports.configs["flat/recommended"] = { + name: 'escompat/flat/recommended', plugins: { escompat: module.exports },