Skip to content

Commit 379b8c4

Browse files
authored
GH-1: Register package using fluid.module.register (resolves #1) (#2)
1 parent 8198b44 commit 379b8c4

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@ https://github.com/fluid-project/markdownlint-config-fluid/raw/main/LICENSE.md.
99

1010
"use strict";
1111

12+
var fluid = require("infusion");
1213
var path = require("path");
1314
var configPath = path.join(__dirname, ".markdownlintrc.json");
1415

16+
fluid.module.register("markdownlint-config-fluid", __dirname, require);
17+
1518
module.exports = require(configPath);

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
}
3030
},
3131
"dependencies": {
32+
"infusion": "3.0.0-dev.20201113T153152Z.32176dcbe.FLUID-6145",
3233
"markdownlint": "0.21.1"
3334
},
3435
"devDependencies": {

0 commit comments

Comments
 (0)