Skip to content

Commit e22c67a

Browse files
committed
fix(rule): fix dict path
1 parent 76f2022 commit e22c67a

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed
File renamed without changes.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
},
1414
"files": [
1515
"src/",
16+
"dict/",
1617
"lib/"
1718
],
1819
"version": "1.0.0",

src/textlint-rule-ja-no-abusage.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ const reporter = (context) => {
1717
});
1818
const prhLinter = prh.linter;
1919
const prhStr = prhLinter(context, {
20-
ruleContents:[
21-
fs.readFileSync(path.join(__dirname, "prh.yml"))
20+
ruleContents: [
21+
fs.readFileSync(path.join(__dirname, "..", "prh.yml"))
2222
]
2323
});
2424
return {

0 commit comments

Comments
 (0)