KEMBAR78
Add option to also strip trailing commas by joshuajaco · Pull Request #59 · sindresorhus/strip-json-comments · GitHub
Skip to content

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