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

Add option to also strip trailing commas #59

Merged
merged 1 commit into from
Jul 22, 2022
Merged

Add option to also strip trailing commas #59

merged 1 commit into from
Jul 22, 2022

Conversation

joshuajaco
Copy link
Contributor

@joshuajaco joshuajaco commented Jul 1, 2022

@joshuajaco joshuajaco marked this pull request as ready for review July 1, 2022 14:11
@sindresorhus
Copy link
Owner

You need to mention it in the readme too.

// @cspotcode

},
"xo": {
"rules": {
"complexity": "off"
Copy link
Contributor Author

@joshuajaco joshuajaco Jul 1, 2022

Choose a reason for hiding this comment

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

The complexity is now at 29. Should I increase the threshold instead of turning the rule off?

@sindresorhus sindresorhus merged commit f9a6283 into sindresorhus:main Jul 22, 2022
@joshuajaco joshuajaco deleted the strip-trailing-commas branch July 22, 2022 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature: strip trailing commas
2 participants