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

Docs: improve id-match usage advice #9544

Merged
merged 1 commit into from Oct 31, 2017
Merged

Docs: improve id-match usage advice #9544

merged 1 commit into from Oct 31, 2017

Conversation

not-an-aardvark
Copy link
Member

What is the purpose of this pull request? (put an "X" next to item)

[x] Documentation update

What changes did you make? (Give an overview)

The current documentation for id-match mentions that the rule has performance problems for complex rules. This seems a bit misleading to me; the rule does have to match a user-provided regex against all identifiers, but I think the documentation exaggerates how important this problem is in practice. Matching a regex against all identifiers seems unlikely to be a major performance bottleneck compared to some other rules which do much more performance-intensive tasks.

(I noticed this as a result of #9538.)

Is there anything you'd like reviewers to focus on?

Nothing in particular

@not-an-aardvark not-an-aardvark added the documentation Relates to ESLint's documentation label Oct 30, 2017
@not-an-aardvark not-an-aardvark merged commit 8f9c0fe into master Oct 31, 2017
@not-an-aardvark not-an-aardvark deleted the id-match-docs branch October 31, 2017 00:44
@eslint-deprecated eslint-deprecated bot locked and limited conversation to collaborators Apr 30, 2018
@eslint-deprecated eslint-deprecated bot added the archived due to age This issue has been archived; please open a new issue for any further discussion label Apr 30, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
archived due to age This issue has been archived; please open a new issue for any further discussion documentation Relates to ESLint's documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants