New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Non reporting errors for redundant space between "typeof" and "(" - related to "space-unary-ops" rule. #9907
Closed
chiptoe opened this issue
Jan 28, 2018
· 4 comments
· Fixed by Urigo/tortilla#62, mono-js/mono-notifications#5, mono-js/mono-push#5 or terrajs/lib-starter#5 · May be fixed by ali8889/emerald-wallet#4
Closed
Non reporting errors for redundant space between "typeof" and "(" - related to "space-unary-ops" rule. #9907
chiptoe opened this issue
Jan 28, 2018
· 4 comments
· Fixed by Urigo/tortilla#62, mono-js/mono-notifications#5, mono-js/mono-push#5 or terrajs/lib-starter#5 · May be fixed by ali8889/emerald-wallet#4
Labels
accepted
There is consensus among the team that this change meets the criteria for inclusion
archived due to age
This issue has been archived; please open a new issue for any further discussion
bug
ESLint is working incorrectly
rule
Relates to ESLint's core rules
Comments
eslint-deprecated
bot
added
the
triage
An ESLint team member will look at this issue soon
label
Jan 28, 2018
Closing in respect to #9906. |
platinumazure
added
bug
ESLint is working incorrectly
rule
Relates to ESLint's core rules
accepted
There is consensus among the team that this change meets the criteria for inclusion
and removed
triage
An ESLint team member will look at this issue soon
labels
Jan 29, 2018
Reopening so I can tie this to my pull request. |
This fix breaks: Hmm ignore that - I see from 9906 it is the "expected" behaviour. |
Could you supply your config?
`yield[1,2,3]` is valid JavaScript and so `yield [1,2,3]` should be flagged
if using "words: false" setting. The rule was already working for object
expressions (`yield {foo: 1}`). So we fixed the rule so it would apply for
all non-word tokens after `yield`, basically.
…On Feb 5, 2018 5:52 AM, "Gavin" ***@***.***> wrote:
This fix breaks: yield [1, 2, 3]
Is that the expected behaviour?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#9907 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AARWeiwZFg5oN5oy384FUW_DOVb5bqiQks5tRutpgaJpZM4Rvvi_>
.
|
This was referenced Mar 8, 2018
eslint-deprecated
bot
added
the
archived due to age
This issue has been archived; please open a new issue for any further discussion
label
Aug 2, 2018
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
accepted
There is consensus among the team that this change meets the criteria for inclusion
archived due to age
This issue has been archived; please open a new issue for any further discussion
bug
ESLint is working incorrectly
rule
Relates to ESLint's core rules
Tell us about your environment
What parser (default, Babel-ESLint, etc.) are you using?
Default
Please show your full configuration:
Configuration
What did you do? Please include the actual source code causing the issue, as well as the command that you used to run ESLint.
What did you expect to happen?
First case with
typeof (obj) === 'object'
should report error.What actually happened? Please include the actual, raw output from ESLint.
No error was reported in first case. Actually there is nothing to show from console.
The text was updated successfully, but these errors were encountered: