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] add modifiers exported, global, and destructured #2808

Merged
merged 1 commit into from Nov 24, 2020

Commits on Nov 24, 2020

  1. feat(eslint-plugin): [naming-convention] add modifiers exported, `g…

    …lobal`, and `destructured`
    
    Fixes #2239
    Fixes #2512
    Fixes #2318
    Closes #2802
    
    Adds the following modifiers:
    - `exported` - matches anything that is exported from the module.
    - `global` - matches a variable/function declared in the top-level scope.
    - `destructured` - matches a variable declared via an object destructuring pattern (`const {x, z = 2}`).
    bradzacher committed Nov 24, 2020
    Copy the full SHA
    c4cb9f2 View commit details
    Browse the repository at this point in the history