{"id":4115,"date":"2024-10-05T06:33:00","date_gmt":"2024-10-04T21:33:00","guid":{"rendered":"https:\/\/matoken.org\/blog\/?p=4115"},"modified":"2024-10-05T06:04:36","modified_gmt":"2024-10-04T21:04:36","slug":"there-are-no-rules-even-though-the-textlint-settings-have-not-been-changed","status":"publish","type":"post","link":"https:\/\/matoken.org\/blog\/2024\/10\/05\/there-are-no-rules-even-though-the-textlint-settings-have-not-been-changed\/","title":{"rendered":"textlint \u306e\u8a2d\u5b9a\u3092\u5909\u3048\u3066\u3044\u306a\u3044\u306e\u306b\u30eb\u30fc\u30eb\u304c\u306a\u3044\u3068\u8a00\u308f\u308c\u308b\u3088\u3046\u306b\u306a\u3063\u305f"},"content":{"rendered":"<div class=\"paragraph\">\n<p><span class=\"image\"><img decoding=\"async\" src=\"https:\/\/github.com\/textlint\/media\/blob\/gh-pages\/icon\/black-and-white\/textlint-icon_64x64.png?raw=true\" alt=\"textlint icon 64x64\"\/><\/span><br \/>\n\u6700\u8fd1 textlint \u3092\u8a66\u3057\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001\u52d5\u304b\u306a\u304f\u306a\u308a\u307e\u3057\u305f\u3002<br \/>\n\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u306e\u306b\u30eb\u30fc\u30eb\u304c\u306a\u3044\u3068\u8a00\u308f\u308c\u307e\u3059\u3002<\/p>\n<\/div>\n<div class=\"listingblock\">\n<div class=\"content\">\n<pre>$ textlint\n\n== No rules found, textlint hasn\u2019t done anything ==\n\nPossible reasons:\n* Your textlint config file has no rules.\n* You have no config file and you aren\u2019t passing rules via command line.\n* Your textlint config has a syntax error.\n\n=&gt; How to set up rules?\nhttps:\/\/github.com\/textlint\/textlint\/blob\/master\/docs\/configuring.md<\/pre>\n<\/div>\n<\/div>\n<p><!--more--><\/p>\n<div class=\"paragraph\">\n<p>\u30eb\u30fc\u30eb\u306f\u3042\u308b\u3057\u3053\u306a\u3044\u3060\u307e\u3067\u4f7f\u3048\u3066\u3044\u305f\u306e\u306b\u306a?\u3068\u601d\u3044\u3064\u3064\u4e00\u65e6 <code>~\/.textlintrc.json<\/code> \u3092\u9000\u907f\u3001 <code>init<\/code> \u3067\u65b0\u898f\u306b\u4f5c\u308a\u76f4\u3059\u3068\u307e\u305f\u52d5\u304f\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<\/div>\n<div class=\"listingblock\">\n<div class=\"content\">\n<pre>$ mv ~\/.textlintrc.json ~\/.textlintrc.json.bak\n$ textlint --init\n$ echo \"\u732b\u304c\u98df\u3079\u308c\u307e\u3059\" | textlint --stdin --stdin-filename *.txt\n\nmatoken.txt\n  1:5  error  \u3089\u629c\u304d\u8a00\u8449\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002    no-dropping-the-ra\n  1:7  error  \u6587\u672b\u304c\"\u3002\"\u3067\u7d42\u308f\u3063\u3066\u3044\u307e\u305b\u3093\u3002  ja-technical-writing\/ja-no-mixed-period\n\n\u2716 2 problems (2 errors, 0 warnings)<\/pre>\n<\/div>\n<\/div>\n<div class=\"paragraph\">\n<p>\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u6bd4\u8f03\u3059\u308b\u3068\u4f7f\u308f\u306a\u3044\u306e\u3067\u524a\u9664\u3057\u305f <code>plugins<\/code> \u306e\u305b\u3044\u3060\u3063\u305f\u3088\u3046\u3067\u3059\u3002 <code>false<\/code> \u306b\u3057\u3066\u3044\u3066\u3082\u99c4\u76ee\u306a\u3093\u3067\u3059\u306d\u3002<\/p>\n<\/div>\n<div class=\"listingblock\">\n<div class=\"title\">plugin <code>asciidoc<\/code> \u306f\u524a\u9664\u3057\u3066\u3044\u305f<\/div>\n<div class=\"content\">\n<pre>$ diff -u ~\/.textlintrc.json.bak ~\/.textlintrc.json\n--- \/home\/matoken\/.textlintrc.json.bak  2024-09-22 08:08:05.407222868 +0900\n+++ \/home\/matoken\/.textlintrc.json      2024-10-02 06:28:38.779496703 +0900\n@@ -1,16 +1,16 @@\n {\n   \"plugins\": {\n-    \"asciidoc\": false,\n     \"asciidoctor\": true,\n     \"html\": true\n   },<\/pre>\n<\/div>\n<\/div>\n<div class=\"listingblock\">\n<div class=\"title\">\u74b0\u5883<\/div>\n<div class=\"content\">\n<pre>$ textlint --version\nv14.2.0\n$ dpkg-query -W nodejs\nnodejs  20.17.0+dfsg-2\n$ lsb_release -dr\nDescription:    Debian GNU\/Linux trixie\/sid\nRelease:        n\/a\n$ arch\nx86_64<\/pre>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u6700\u8fd1 textlint \u3092\u8a66\u3057\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001\u52d5\u304b\u306a\u304f\u306a\u308a\u307e\u3057\u305f\u3002 \u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u306e\u306b\u30eb\u30fc\u30eb\u304c\u306a\u3044\u3068\u8a00\u308f\u308c\u307e\u3059\u3002 $ textlint == No rules found, textlint hasn\u2019t done  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"webmentions_disabled_pings":false,"webmentions_disabled":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"federated","footnotes":""},"categories":[7,6,199],"tags":[837],"class_list":["post-4115","post","type-post","status-publish","format-standard","hentry","category-debian-linux","category-linux","category-sid","tag-textlint"],"_links":{"self":[{"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/posts\/4115","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/comments?post=4115"}],"version-history":[{"count":1,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/posts\/4115\/revisions"}],"predecessor-version":[{"id":4116,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/posts\/4115\/revisions\/4116"}],"wp:attachment":[{"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/media?parent=4115"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/categories?post=4115"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/tags?post=4115"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}