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

feat(eslint-plugin): [naming-convention] split property and method selectors into more granular classXXX, objectLiteralXXX, typeXXX #2807

Merged
merged 1 commit into from Nov 24, 2020

Commits on Nov 24, 2020

  1. feat(eslint-plugin): [naming-convention] split property and `method…

    …` selectors into more granular `classXXX`, `objectLiteralXXX`, `typeXXX`
    
    Fixes #1477
    Closes #2802
    
    This allows users to target different types of properties differently.
    
    Adds the following selectors (self explanatory - just breaking the selectors up):
    
    - `classProperty`
    - `objectLiteralProperty`
    - `typeProperty`
    - `classMethod`
    - `objectLiteralMethod`
    - `typeMethod`
    
    Converts
    - `property` to a meta selector for `classProperty`, `objectLiteralProperty`, `typeProperty`
    - `method` to a meta selector for `classMethod`, `objectLiteralMethod`, `typeMethod`
    bradzacher committed Nov 24, 2020
    Copy the full SHA
    5c846aa View commit details
    Browse the repository at this point in the history