[Request] ignore some function names for `at-function-named-arguments`
See original GitHub issueI’d like to require named arguments for most function calls, but exclude things like map-merge()
. Would it be possible to add this as an optional secondary rule?
Issue Analytics
- State:
- Created 5 years ago
- Comments:7
Top Results From Across the Web
How does one ignore unexpected keyword arguments passed ...
The nice thing about my solution is that you can see that the function has a default value just from the function header,...
Read more >Keyword (Named) Arguments in Python: How to Use Them
Let's take a look at what keyword arguments (also called “named arguments”) are. First let's take this Python function: ...
Read more >Ignore when argument values are the same as the parameter ...
The idea is to introduce a new setting for NamedArguments called something like ignoreSimpleArgumentValues (preferably a better name :-) ). When ...
Read more >JavaScript: Why Named Arguments are Better than Positional ...
Positional Arguments are pretty straight-forward to do but you will face some challenges with them. 1. Can't skip middle arguments. Say you have ......
Read more >Named and Optional Arguments - C# Programming Guide
Named arguments in C# specify arguments by name, not position. Optional arguments can be omitted.
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 Free
Top 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
@chimericdream I have implemented an option called
ignoreFunctions
. It will be included in the next release: https://github.com/kristerkari/stylelint-scss/pull/269Just to give an update, I have verified the bug and I’m working on a fix. It’s a bit tricky to fix tho because of the hacky way of how the rule is parsing function parameters currently.