Skip to content

Conversation

user24
Copy link

@user24 user24 commented Jun 11, 2014

No description provided.

],
"slugs": [
"insecure-hat",
"w059"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

w059 in JSHint is "Avoid arguments.{a}". I don't think JSHint has an equivalent to this message.

@jamesallardice
Copy link
Owner

Thanks for this. Looking at the JSLint source it appears the generic message used is "Insecure '{a}'". The convention I've used throughout the site is to have a single page per generic message. Since this message is used in only two situations ("Insecure '^'" and "Insecure '.'") I think it would probably be better to change the title to the generic message and include an explanation for "Insecure '.'" too.

However I have often considered splitting out more articles from their generic counterparts (it happens in a couple of places when the message used is far too generic for a single article, like "Unexpected '{a}'"). Let me know your thoughts on this... we could have another separate article for "Insecure '.'".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants