Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upUnnecessary escape character? #704
Comments
dcousens
added
bug
need more info
labels
Nov 25, 2016
This comment has been minimized.
This comment has been minimized.
|
This only started happening in a recent update. |
This comment has been minimized.
This comment has been minimized.
|
The This might be the source of the issue: eslint/eslint#7424 |
This comment has been minimized.
This comment has been minimized.
|
One good argument for why ESLint should not warn about
This let's users keep things nice and parallel in their regex, like: |
This comment has been minimized.
This comment has been minimized.
|
I opened an issue: eslint/eslint#7656 |
This comment has been minimized.
This comment has been minimized.
|
Thanks for championing this @feross |
feross
added
blocked
and removed
need more info
labels
Dec 5, 2016
This comment has been minimized.
This comment has been minimized.
|
Close in favour of eslint/eslint#7656? |
This comment has been minimized.
This comment has been minimized.
|
Sure. If they end up adding a way to specify exceptions to this rule, we can open a new issue for that. |
feross
closed this
Dec 18, 2016
This comment has been minimized.
This comment has been minimized.
|
FYI, the original eslint issue was fixed: eslint/eslint#7656 |
dcousens commentedNov 25, 2016
•
edited
The regex:
/Expected property "1" of type \[Buffer\], got String "foobar"/Is this one for eslint? Or am I misunderstanding?
edit: This apparently works... is it even sane though? It feels so odd.
/Expected property "1" of type \[Buffer], got String "foobar"/