chore: combine multiple RegEx replaces with one #6669
Labels
accepted
There is consensus among the team that this change meets the criteria for inclusion
archived due to age
This issue has been archived; please open a new issue for any further discussion
chore
This change is not user-facing
core
Relates to ESLint's core APIs and features
What version of ESLint are you using?
latest master
What parser (default, Babel-ESLint, etc.) are you using?
N/A
Please show your full configuration:
N/A
What did you do? Please include the actual source code causing the issue.
N/A
What did you expect to happen?
N/A
What actually happened? Please include the actual, raw output from ESLint.
N/A
I would like to propose a small improvement in the way boolean configuration values are
processed. As it is, there are two RegEx based replacements happening to clean up whitespaces
around
:
, and,
, hereThat can actually be simplified into a single RegEx based
replace
, like thisThe text was updated successfully, but these errors were encountered: