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
What version of this package are you using?
npx standard
also the linter-js-standard plugin for Atom
What operating system, Node.js, and npm version?
Windows 10
Node 10.16.3
npm 6.9.0
What happened?
The code var test = /[\]\[]/ produces two errors:
Unnecessary escape character: \[.
Unnecessary escape character: \].
What did you expect to happen?
There should be no error messages. This is not a matter of style. Taking out the escape character produces a very different result in JavaScript.
Are you willing to submit a pull request to fix this bug?
No
The text was updated successfully, but these errors were encountered:
What version of this package are you using?
npx standard
also the linter-js-standard plugin for Atom
What operating system, Node.js, and npm version?
Windows 10
Node 10.16.3
npm 6.9.0
What happened?
The code
var test = /[\]\[]/
produces two errors:Unnecessary escape character: \[.
Unnecessary escape character: \].
What did you expect to happen?
There should be no error messages. This is not a matter of style. Taking out the escape character produces a very different result in JavaScript.
Are you willing to submit a pull request to fix this bug?
No
The text was updated successfully, but these errors were encountered: