Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
function-no-unknown
false negatives for functions with namespace (
#888) Since Stylelint 15.8.0, the built-in `function-no-unknown` rule has ignored SCSS functions with namespace. For example, the following code unexpectedly passes with Stylelint 15.8.0: ```scss a { color: color.unknown(#fff); } ``` Notes: - This change keeps backward compatibility. This means not to change `peerDependencies.stylelint` in `package.json`. - This change may bring performance penalty to keep backward compatibility. - Run `npm i 'stylelint@^15.8.0' && npm t` to test this change with newer versions of Stylelint. See also: - https://github.com/stylelint/stylelint/releases/tag/15.8.0 - stylelint/stylelint#6921
- Loading branch information
1 parent
c863f9c
commit a95954b
Showing
2 changed files
with
61 additions
and
37 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