GithubHelp home page GithubHelp logo

textlint-ja / textlint-rule-ja-no-successive-word Goto Github PK

View Code? Open in Web Editor NEW
6.0 3.0 1.0 780 KB

同一の単語を間違えて連続しているのを見つけるtextlintルール

License: MIT License

JavaScript 100.00%
textlint textlintrule

textlint-rule-ja-no-successive-word's People

Contributors

azu avatar bizen241 avatar dependabot[bot] avatar massongit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

massongit

textlint-rule-ja-no-successive-word's Issues

文章の先頭のコピペ的な繰り返し

元々、元々、これはテスト文章。
この度、この度、これはテスト文章。
また、また、これはテスト文章

みたいな 文章の先頭を繰り返しているような 間違いを時々見かける気がする。
これを検出できるといいような気がする

記号を許可する RegExp Like 表現

デフォルト設定では、全角スペースや全角感嘆符などの記号が連続している場合にも、エラーが出るようです。
そこで、記号に対してもエラーを出さないための設定を共有します。
※unicode の記号を完全には網羅していません。

options: {
  allow: ['/[\\u2000-\\u2DFF\\u2E00-\\u33FF\\uF900-\\uFFFD]/'],
}

false positive: カクカク

動作がカクカクしています。

カタカナのは意図的に同じ語を並べることがある気がする。

  • カクカク
  • ガクガク
  • ブルブル
  • ガヤガヤ

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.