We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0ca502 commit be1c7a6Copy full SHA for be1c7a6
src/index.js
@@ -1,8 +1,11 @@
1
+const {name, version} = require('../package.json')
2
+
3
const getFlatConfigs = () => ({
4
recommended: require('./configs/flat/recommended'),
5
})
6
-module.exports = {
7
+const plugin = {
8
+ meta: {name, version},
9
rules: {
10
'direct-slot-children': require('./rules/direct-slot-children'),
11
'no-deprecated-entrypoints': require('./rules/no-deprecated-entrypoints'),
@@ -28,3 +31,5 @@ module.exports = {
28
31
},
29
32
getFlatConfigs,
30
33
}
34
35
+module.exports = plugin
0 commit comments