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 upJSDoc style comments (/**) not allowed on Windows #185
Comments
This comment has been minimized.
This comment has been minimized.
|
This snippet is not throwing any errors for me using the latest version of Could you try |
This comment has been minimized.
This comment has been minimized.
|
I made sure I was running the latest version, but I ran npm install -g just to be sure. Still got the same issue.
|
This comment has been minimized.
This comment has been minimized.
|
So I did a clean install on a Linux VPS and the issue went away. After that I removed standard from my dev machine (Windows 7 x64) and re-installed it and I still get the same warning there. This seems to be ether specific to my windows machine or to the OS version itself. @Flet what OS did you use to run the sample code? |
This comment has been minimized.
This comment has been minimized.
|
Ah, I validated it on Ubuntu. Yep... I the same error in Windows:
Really strange! I don't see the That being said, it may be prudent to add |
This comment has been minimized.
This comment has been minimized.
|
Some workarounds (in case this is blocking you): Or adding this hint at the top of the file will disable the rule:
|
This comment has been minimized.
This comment has been minimized.
|
I'll keep the workarounds in mind, thanks for looking into this. Cheers! |
This comment has been minimized.
This comment has been minimized.
|
@Flet eslint is supposted to automatically support jsdoc-style comments ( I filed a bug on eslint: eslint/eslint#2987 |
feross
added
bug
blocked
labels
Jul 13, 2015
This comment has been minimized.
This comment has been minimized.
|
@Flet Also, manually adding |
feross
changed the title
Multiline /** comments not allowed?
JSDoc style comments (/**) not allowed on Windows
Jul 13, 2015
This comment has been minimized.
This comment has been minimized.
|
Cool, looks like we might be pointing to a hash again :) |
This comment has been minimized.
This comment has been minimized.
|
It'll be a bit more work to do that this time, it seems. The fix we want is on the |
This comment has been minimized.
This comment has been minimized.
|
Hm, there are actually 3 open issues on standard right now that would be fixed by upgrading to |
This comment has been minimized.
This comment has been minimized.
|
This will be fixed in eslint 1.0.0 and standard 5.0.0. #192 |
This comment has been minimized.
This comment has been minimized.
|
This looks fixed on my end with the new 5.0.0-2. |
skkeeper commentedJul 13, 2015
Not sure if this is an issue or just me not being able to figure out how to format this properly. For the following code, standard is telling me:
Is this type of docstring not allowed?