Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

Support granular config in 'object-literal-shorthand' #4842

Merged

Conversation

pablobirukov
Copy link
Contributor

PR checklist

Overview of change:

Support granular configuration in object-literal-shorthand

CHANGELOG.md entry:

[new-rule-option] object-literal-shorthand supports {"property"?: "never", "method"?: "never"} as config options

src/rules/objectLiteralShorthandRule.ts Outdated Show resolved Hide resolved
src/rules/objectLiteralShorthandRule.ts Outdated Show resolved Hide resolved
src/rules/objectLiteralShorthandRule.ts Outdated Show resolved Hide resolved
src/rules/objectLiteralShorthandRule.ts Outdated Show resolved Hide resolved
src/rules/objectLiteralShorthandRule.ts Outdated Show resolved Hide resolved
Copy link
Contributor

@adidahiya adidahiya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the PR!

@adidahiya adidahiya merged commit 0f2a540 into palantir:master Sep 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature Request] Add more granularity to object-literal-shorthand rule options
2 participants