We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
textlint/textlint#878 (comment)
これだと、linterだけになって textlint --fix に対応する fixerがないルールとして扱われる。 そのため textlint --fix では何もしないルールになってしまってるはず。
textlint --fix
module.exports = {function (context) { // 辞書ベースのカタカナ末尾の長音のチェックを行う return prh.fixer(context, { ruleContents: [fs.readFileSync(path.join(__dirname, "..", "dict", "2.1.6.yml"), "utf-8")] }); };
おそらく本来は次のように返す必要がある。
const reporter = function (context) { // 辞書ベースのカタカナ末尾の長音のチェックを行う return prh.fixer(context, { ruleContents: [fs.readFileSync(path.join(__dirname, "..", "dict", "2.1.6.yml"), "utf-8")] }); }; module.exports = { linter: reporter, // support fixing fixer: reporter };
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
textlint/textlint#878 (comment)
これだと、linterだけになって
textlint --fix
に対応する fixerがないルールとして扱われる。そのため
textlint --fix
では何もしないルールになってしまってるはず。おそらく本来は次のように返す必要がある。
The text was updated successfully, but these errors were encountered: