Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve inline comment merging (#4950)
* Improve inline comment merging This now only starts a merge when the comment begins with `stylelint-` and either the first line contains `--` or the second line starts with `--`. The merge will end whenever another line starts with `stylelint-` to allow for adjacent stylelint commands. * Fix indentation * Explicitly check for ^stylelint-(disable|enable) * Use existing variables rather than hardcoding
- Loading branch information
Showing
2 changed files
with
184 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters