Skip to content

v2.3.0

Compare
Choose a tag to compare
@azu azu released this 23 Jan 12:08
· 58 commits to master since this release
cb4c4f8

変更点

textlint-rule-ja-space-between-half-and-full-width

半角文字と全角文字のスペースについてのtextlintルール

  • spaceオプションにスペースを入れる対象の配列を指定できるようになりました
    • "space": ["alphabets", "numbers", "punctuation"] でアルファベット、数値、句読点の前後にスペースを入れる("space": "always"と同じ意味)
    • "space": ["alphabets", "punctuation"] とすると アルファベットと句読点の前後にスペースを入れる(数値の前後には入れない)
    • "space": [] で全てにスペースを入れない("space": "never"と同じ意味)
  • exceptPunctuation オプションは "space": ["alphabets", "numbers"]で代用できるため、非推奨となりました

What's Changed

Features

  • feat(space-between-half-and-full-width): add an option to ignore numbers and apply only to alphabets by @Sean0628 in #45

Dependency Updates

New Contributors

Full Changelog: v2.2.0...v2.3.0