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

Consider ObjectExpression in nexus-upper-case-enum-members rule #331

Merged
merged 1 commit into from
Jan 30, 2020

Conversation

yamadayuki
Copy link
Collaborator

WHY & WHAT

Now, nexus-upper-case-enum-members rule cannot consider the case such as below:

const Episode = enumType({
  name: "Episode",
  members: [
    { name: "newHope" },
    { name: "empire" },
    { name: "jedi" },
  ],
});

To consider the ObjectExpression for the items of ArrayExpression.

@yamadayuki yamadayuki added the enhancement New feature or request label Jan 30, 2020
@yamadayuki yamadayuki merged commit 1ec470c into master Jan 30, 2020
@yamadayuki yamadayuki deleted the yamadayuki/consider-object-expression branch January 30, 2020 06:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant