Skip to content

Commit baea115

Browse files
committed
New: expose patch function
1 parent 47892ba commit baea115

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,7 @@ module.exports = {
2727
"no-unused-enable": require("./lib/rules/no-unused-enable"),
2828
"no-use": require("./lib/rules/no-use"),
2929
},
30+
utils: {
31+
patch: require("./lib/patch.js").patch,
32+
},
3033
}

scripts/update-index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ ${rules
4545
)
4646
.join("\n")}
4747
},
48+
utils: {
49+
patch: require("./lib/patch.js").patch,
50+
},
4851
}
4952
`
5053
)

0 commit comments

Comments
 (0)