You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our existing heuristic looked for a quote _somewhere_ before the
candidate and a quote (doesn't need to be the same type of quote)
_somewhere_ after the candidate.
While this is an okay assumption, it also has flaws, because this means
that the `outline` in the following example is considered inside of a
string:
```js
function foo({ a = "", outline = true, b = "" }) {
//
}
```
With this change, we will do a little bit of parsing and figure out if
we are in a string (by looking at balanced quotes).
0 commit comments