Add `ignoreFunctions: []` to function-no-unknown
See original GitHub issueWhat is the problem you’re trying to solve?
function-no-unknown throws an error when using non-standard funcitons such as tailwindcss theme function.
What solution would you like to see?
It would be nice to have a feature to ignore certain functions just like ignoreAtRules
of at-rule-no-unknown.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:5 (4 by maintainers)
Top Results From Across the Web
function-no-unknown - Stylelint
This rule considers functions defined in the CSS Specifications to be known. This rule ignores double-dashed custom functions, e.g. --custom-function() .
Read more >[Linter] Stylelint - Let's see how to install and configure ...
Let's see how to install and configure Stylelint to check code style of CSS, SCSS files, and CSS-in-JS.
Read more >Tailwind theme directive unknown - sage - Roots Discourse
I have been trying to use tailwind's theme directive with Sage 10 but somehow it's not defined in the default installation.
Read more >stylelint-scss | Yarn - Package Manager
Added : at-function-named-arguments add ignoreFunctions option. Fixed: at-function-named-arguments correctly parse data uris as function parameters.
Read more >Tweets with replies by Stylelint (@stylelint) / Twitter
It adds the `media-feature-range-notation` rule, adds the capability to specify ... adds an `ignoreFunctions` option to the new `function-no-unknown` rule:.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@mizozobu Thanks for the suggestion. I’ve opened a pull request #5901.
Released in
14.5.0
.