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

Ignore template literals in no-get and no-get-properties rules #413

Merged
merged 1 commit into from Apr 21, 2019
Merged

Ignore template literals in no-get and no-get-properties rules #413

merged 1 commit into from Apr 21, 2019

Commits on Apr 21, 2019

  1. fix: ignore template literals in 'no-get' and 'no-get-properties' rules

    Ignore template literals since we can't be sure if they contain nested property paths (which should always be ignored by these rules).
    
    And without this fix, template literals will cause the rule to throw an error: `TypeError: Cannot read property 'includes' of undefined`
    bmish committed Apr 21, 2019
    Configuration menu
    Copy the full SHA
    05ceb5d View commit details
    Browse the repository at this point in the history