question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hi

I have a question or a feature request. Why isn’t a dash (-) a part of “indent” instead of “else” in path parsing?

Example:

{
  a: {
    b: 1,
    "b-c": 2 // <--
  }
}

I am migrating a SPA app to Vue and there internationalization keys use dashes.

I could make a PR for that if there is no reason why dash wouldn’t be a part of a key name.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:2
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
tariq86commented, Sep 9, 2016

I ran into the same issue while working on a project; PR submitted with solution suggested by @vellotis

0reactions
kazuponcommented, Sep 10, 2016
Read more comments on GitHub >

github_iconTop Results From Across the Web

How to type an em dash on a PC or Mac - Zapier
On Windows it's...less simple: you need to use an alt code to get an em dash. If you have a numeric keyboard, hold...
Read more >
What is a Hyphen? - Computer Hope
Alternatively known as a dash, subtract, negative, or minus sign, the hyphen ( - ) is a punctuation mark on the underscore key...
Read more >
Hyphen, en-dash, em-dash | English Language Help Desk
The hyphen has its own key on the keyboard: ... The en-dash is a bit longer than the hyphen; its length is equal...
Read more >
6 Ways to Create an Em Dash - Tech Tools for Writers
Another Microsoft Word shortcut, pressing CTRL + – (on the keypad) will type an endash. This is probably the quickest way to get...
Read more >
Dash & the keyboard
Dash on a PC keyboard. You can create a dash on a PC by holding down the ALT key and typing either 0150...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found