Skip to content

Commit

Permalink
fix(rule): use index instead of column
Browse files Browse the repository at this point in the history
update kuromojin
  • Loading branch information
azu committed Apr 27, 2016
1 parent dd81c0f commit c72ff30
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@
"espower-babel": "^4.0.0",
"mocha": "^2.3.3",
"power-assert": "^1.2.0",
"textlint-tester": "^0.4.0"
"textlint-tester": "^1.2.0"
},
"dependencies": {
"kuromojin": "^1.0.1",
"kuromojin": "^1.2.1",
"textlint-rule-helper": "^1.1.4"
}
}
4 changes: 2 additions & 2 deletions src/no-dropping-the-ra.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ export default function (context) {
tokens.reduce((prev, current) => {
if (isTargetVerb(prev) && isRaWord(current)) {
report(node, new RuleError("ら抜き言葉を使用しています。", {
column: (current.word_position - 1)
}))
index: (current.word_position - 1)
}));
}
return current;
});
Expand Down

0 comments on commit c72ff30

Please # to comment.