Skip to content

Commit 3c45b67

Browse files
authoredNov 7, 2024··
fix: exported / referenced plugin same instance (#380)
1 parent 6e08c9a commit 3c45b67

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed
 

‎lib/index.js

+1-5
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,4 @@ const configs = {
8686
}
8787

8888
/** @type {ESLint.Plugin & { configs: Configs }} */
89-
module.exports = {
90-
meta: base.meta,
91-
rules: base.rules,
92-
configs: configs,
93-
}
89+
module.exports = Object.assign(base, { configs })

0 commit comments

Comments
 (0)
Please sign in to comment.