Skip to content

Commit

Permalink
Name (#30)
Browse files Browse the repository at this point in the history
* feat: ES2023 `no-hashbang-comment`

* feat: add `name` (for tooling)

---------

Co-authored-by: Keith Cirkel <[email protected]>
  • Loading branch information
brettz9 and keithamus authored Jul 23, 2024
1 parent 65941ac commit d49d95b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
},
Expand Down Expand Up @@ -246,6 +247,7 @@ module.exports.configs.recommended = {
};

module.exports.configs["flat/recommended"] = {
name: 'escompat/flat/recommended',
plugins: {
escompat: module.exports
},
Expand Down

0 comments on commit d49d95b

Please sign in to comment.