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

pathsPattern for object-curly-newline, object-curly-spacing, and object-property-newline #145

Open
bennypowers opened this issue Dec 7, 2021 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@bennypowers
Copy link

Hello!

Say I want to exclude the "engines" key in a package.json from the object-curly-newline, object-curly-spacing, and object-property-newline rules, but apply those rules everywhere else,

Or if I only want to apply those rules to the "references" key in a tsconfig.json

Please consider adding pathsPattern to those rules

@bennypowers bennypowers changed the title include/exclude paths for object-curly-newline, object-curly-spacing, and object-property-newline pathsPattern for object-curly-newline, object-curly-spacing, and object-property-newline Dec 7, 2021
@ota-meshi
Copy link
Owner

Thank you for posting this issue.
I don't like that option because I think it's inconsistent, but if someone implements it I can merge it.

@ota-meshi ota-meshi added enhancement New feature or request help wanted Extra attention is needed labels Jan 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants