Skip to content

Commit d49d95b

Browse files
brettz9keithamus
andauthored
Name (#30)
* feat: ES2023 `no-hashbang-comment` * feat: add `name` (for tooling) --------- Co-authored-by: Keith Cirkel <[email protected]>
1 parent 65941ac commit d49d95b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/index.js

+2
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ const createRule = (name, browserstring, description, { ts = null } = {}) => {
4646
const flatConfigName = `flat/${configName}`;
4747
if (!module.exports.configs[configName]) {
4848
flatTypeScriptConfigs[configName] = [{
49+
name: `escompat/${configName}`,
4950
plugins: {
5051
escompat: module.exports
5152
},
@@ -246,6 +247,7 @@ module.exports.configs.recommended = {
246247
};
247248

248249
module.exports.configs["flat/recommended"] = {
250+
name: 'escompat/flat/recommended',
249251
plugins: {
250252
escompat: module.exports
251253
},

0 commit comments

Comments
 (0)