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

Prefer long unicode class names over the short ones #720

Closed
fisker opened this issue Apr 4, 2024 · 1 comment · Fixed by #722
Closed

Prefer long unicode class names over the short ones #720

fisker opened this issue Apr 4, 2024 · 1 comment · Fixed by #722
Assignees
Labels
enhancement New feature or request new rule

Comments

@fisker
Copy link

fisker commented Apr 4, 2024

Motivation

The long hand names are more readable.

Description

Same as above.

Examples

/* ✓ GOOD */
/\p{Letter}/v

/* ✗ BAD */
/\p{L}/v
/* ✓ GOOD */
 /\p{Script=Greek}/v

/* ✗ BAD */
/\p{sc=Greek}/v
@ota-meshi
Copy link
Owner

Thank you for the rule suggestion! That rule sounds good to me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request new rule
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants