Optimistic shorthand parsing?
See original GitHub issueI’m having trouble using shorthand like border: 0;
.
I use this config:
'scale-unlimited/declaration-strict-value': [
[
'/color/',
'fill',
'stroke',
], {
ignoreValues: [
'currentColor',
'transparent',
'inherit',
],
}
],
If i use expandShorthand: true
option, I have warning Expected variable, function or keyword for "0" of "border"
.
But, if i don’t use this option, I loss warning, like for border: 1px solid #eee;
.
Want to make an option for optimistic parsing?
Or I didn’t find it in the documentation, then sorry 😖
Thanks in advance for your reply!)
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
optimism | chickadee
This allows the following shorthand syntax for aliases, where multiple options should have the same form: (parse-command-line '(((-f --foo) . bar))) ...
Read more >SRP_Date Parse - SRP Utilities - SRP Wiki
This service provides a very optimistic parser that can successfully parse any well formed date, ... Typically, people prefer to use shorthand.
Read more >Bug: async not highlighted in object method shorthand notation ...
If an async function is declared using the object method shorthand (i.e. ... We're pretty optimistic about CodeMirror 6's Lezer parser system being...
Read more >Review Lecture Introduction Lexical analysis Parsing ...
Parsing. Semantic analysis. (Intermediate) Code generation. Intermediate Representations ... This is just a shorthand ... is an optimistic algorithm.
Read more >Some thoughts (and requests) about how CM6 schedules ...
The parser runs a tokenizer -> parser loop. The tokenizer is given a string, some positional data, and it returns a list of...
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
Hi @ariarzer I just released a patch version
v1.6.1
. This should be now working for you.Thanks you very much!