Skip to content
This repository has been archived by the owner on Mar 23, 2024. It is now read-only.

Allow array value for "safeContextKeyword" rule #225

Closed
wants to merge 1 commit into from

Conversation

markelog
Copy link
Member

@markelog markelog commented Feb 2, 2014

Not sure if this a way to go, but there you go.

Fixes #198

/cc @mdevils

) {
errors.add(
'You should use "' + keyword + '" to safe "this"',
'You should use "' + keywords.join('" or "') + '" to safe "this"',
Copy link
Contributor

Choose a reason for hiding this comment

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

can you improve this text while you're here touching this?

Copy link
Member

Choose a reason for hiding this comment

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

Which text do you wish to get?

Copy link
Contributor

Choose a reason for hiding this comment

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

safe "this" -> save a reference to "this"

Mike

On Tue, Feb 11, 2014 at 5:25 AM, Marat Dulin notifications@github.com
wrote:

             ) {
                 errors.add(

@mikesherov
Copy link
Contributor

This LGTM, can you just improve those warning message, and I can merge?

@mdevils
Copy link
Member

mdevils commented Feb 11, 2014

👍

@mdevils
Copy link
Member

mdevils commented Feb 21, 2014

@markelog Can you please finish on this? 👍

@markelog markelog closed this in 506a6e7 Feb 21, 2014
@mdevils
Copy link
Member

mdevils commented Feb 21, 2014

What about the error message...?

@markelog
Copy link
Member Author

Shoot, will do

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

Successfully merging this pull request may close these issues.

Allow multiple safe context keywords
3 participants