-
-
Notifications
You must be signed in to change notification settings - Fork 927
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
Fix false positives for "/" in function-whitespace-after #3132
Comments
This probably conflicts with checking for division character between two functions... |
Via @Arcanemagus in the PR #3131 (comment)
|
I probably should have researched this issue a little more before commenting/reviewing the PR 😉 I've dug into the past history of In #1391 was when |
With what I said above, let's also add some tests in the |
194: Update dependency stylelint to v9.3.0 r=rehandalal a=renovate[bot] This Pull Request updates dependency [stylelint](https://github.com/stylelint/stylelint) from `v9.2.1` to `v9.3.0` <details> <summary>Release Notes</summary> ### [`v9.3.0`](https://github.com/stylelint/stylelint/blob/master/CHANGELOG.md#​930) [Compare Source](stylelint/stylelint@9.2.1...9.3.0) - Added: support for `<style>` tags and `style=""` attributes in XML and XSLT files ([#​3386](`stylelint/stylelint#3386)). - Added: `globbyOptions` option ([#​3339](`stylelint/stylelint#3339)). - Added: `keyframes-name-pattern` rule ([#​3321](`stylelint/stylelint#3321)). - Added: `media-feature-name-value-whitelist` rule ([#​3320](`stylelint/stylelint#3320)). - Added: `selector-pseudo-element-colon-notation` autofix ([#​3345](`stylelint/stylelint#3345)). - Fixed: `.vue` files throwing errors for `<style lang="stylus">` and `<style lang="postcss">` ([#​3331](`stylelint/stylelint#3331)). - Fixed: `declaration-block-no-*` false positives for non-standard syntax ([#​3381](`stylelint/stylelint#3381)). - Fixed: `function-whitespace-after` false positives for "/" ([#​3132](`stylelint/stylelint#3132)). - Fixed: `length-zero-no-unit` incorrect autofix for at-includes ([#​3347](`stylelint/stylelint#3347)). - Fixed: `max-nesting-depth` false positives for nested properties ([#​3349](`stylelint/stylelint#3349)). - Fixed: `no-empty-source` false positives on vue external sources `<style src="*">` tag ([#​3331](`stylelint/stylelint#3331)). - Fixed: `max-line-length` false positives for non-CSS blocks ([#​3367](`stylelint/stylelint#3367)). - Fixed: `no-eol-whitespace` false positives for non-CSS blocks ([#​3367](`stylelint/stylelint#3367)). - Fixed: `no-extra-semicolons` false positives for non-CSS blocks ([#​3367](`stylelint/stylelint#3367)). - Fixed: `no-missing-end-of-source-newline` false positives for non-CSS blocks ([#​3367](`stylelint/stylelint#3367)). --- </details> --- This PR has been generated by [Renovate Bot](https://renovatebot.com). Co-authored-by: Renovate Bot <bot@renovateapp.com>
This Pull Request updates dependency [stylelint](https://github.com/stylelint/stylelint) from `v9.2.1` to `v9.3.0` <details> <summary>Release Notes</summary> ### [`v9.3.0`](https://github.com/stylelint/stylelint/blob/master/CHANGELOG.md#​930) [Compare Source](stylelint/stylelint@9.2.1...9.3.0) - Added: support for `<style>` tags and `style=""` attributes in XML and XSLT files ([#​3386](`stylelint/stylelint#3386)). - Added: `globbyOptions` option ([#​3339](`stylelint/stylelint#3339)). - Added: `keyframes-name-pattern` rule ([#​3321](`stylelint/stylelint#3321)). - Added: `media-feature-name-value-whitelist` rule ([#​3320](`stylelint/stylelint#3320)). - Added: `selector-pseudo-element-colon-notation` autofix ([#​3345](`stylelint/stylelint#3345)). - Fixed: `.vue` files throwing errors for `<style lang="stylus">` and `<style lang="postcss">` ([#​3331](`stylelint/stylelint#3331)). - Fixed: `declaration-block-no-*` false positives for non-standard syntax ([#​3381](`stylelint/stylelint#3381)). - Fixed: `function-whitespace-after` false positives for "/" ([#​3132](`stylelint/stylelint#3132)). - Fixed: `length-zero-no-unit` incorrect autofix for at-includes ([#​3347](`stylelint/stylelint#3347)). - Fixed: `max-nesting-depth` false positives for nested properties ([#​3349](`stylelint/stylelint#3349)). - Fixed: `no-empty-source` false positives on vue external sources `<style src="*">` tag ([#​3331](`stylelint/stylelint#3331)). - Fixed: `max-line-length` false positives for non-CSS blocks ([#​3367](`stylelint/stylelint#3367)). - Fixed: `no-eol-whitespace` false positives for non-CSS blocks ([#​3367](`stylelint/stylelint#3367)). - Fixed: `no-extra-semicolons` false positives for non-CSS blocks ([#​3367](`stylelint/stylelint#3367)). - Fixed: `no-missing-end-of-source-newline` false positives for non-CSS blocks ([#​3367](`stylelint/stylelint#3367)). --- </details> --- This PR has been generated by [Renovate Bot](https://renovatebot.com).
Allow "/" as an allowed character in the "function-whitespace-after" rule to allow e.g. line-height shorthand value in "font" property.
function-whitespace-after
8.4.0
gulp-stylelint
No.
Allowance of the "/" character as default.
Expected whitespace after ")" (function-whitespace-after)
The text was updated successfully, but these errors were encountered: