Skip to content
New issue

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

exception list of regular expression to omit rules #40

Open
KEINOS opened this issue Aug 27, 2019 · 0 comments
Open

exception list of regular expression to omit rules #40

KEINOS opened this issue Aug 27, 2019 · 0 comments

Comments

@KEINOS
Copy link

KEINOS commented Aug 27, 2019

TL;DR

Enhancement Feature: Exception list of a regular expression in option settings to omit rules that match.

TS;DR

Thank you for such a great extension! With the current options (provided in v2.1.1) fulfills most of my needs.

So far, I have one enhancement request. (Not strong though)

I set a rule that works as below and works great:

# RULE:one-white-space-between-zenkaku-and-hankaku-eiji

それはissueにあげてください。 → それは issue にあげてください。

But I would like it NOT to work in case of hashtags like below:

#chorme拡張 #linterおすすめ

Currently, I just ignore the warnings in that case.

But it would be nice if I can omit them by setting a regular expression in option something like below:

\s#[.]+\s
/[##][A-Za-zA-Za-z一-鿆0-90-9ぁ-ヶヲ-゚ー._-]+/gm
# chrome拡張 → # chrome 拡張

#chrome拡張 → #chorme拡張
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant