diff --git a/package.json b/package.json index 18e67dc..5a4ebc6 100644 --- a/package.json +++ b/package.json @@ -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" } } diff --git a/src/no-dropping-the-ra.js b/src/no-dropping-the-ra.js index 256e088..34f8605 100644 --- a/src/no-dropping-the-ra.js +++ b/src/no-dropping-the-ra.js @@ -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; });