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

@pablobirukov pablobirukov force-pushed the improve-object-shorthand-2 branch from a7820f8 to 0fc8f6a Compare August 28, 2019 13:47
@pablobirukov pablobirukov mentioned this pull request Aug 28, 2019
3 tasks
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
@pablobirukov pablobirukov force-pushed the improve-object-shorthand-2 branch from 3aec0d5 to e4b4123 Compare September 5, 2019 11:22
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