Skip to content
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

Introduce lint rule no_dupe_key to forbid duplicated entries in an object #4322

Merged
merged 2 commits into from Aug 2, 2016

Conversation

lannka
Copy link
Contributor

@lannka lannka commented Aug 2, 2016

No description provided.

@@ -56,7 +55,6 @@ describe('runtime', () => {
history: {},
navigator: {},
setTimeout: () => {},
location: parseUrl('https://acme.com/document1'),
Copy link
Contributor

Choose a reason for hiding this comment

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

This one would have one out.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Seems to me the URL is not used in the test. Or did I miss something?

Copy link
Contributor

Choose a reason for hiding this comment

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

I didn't review the tests. If it passes, LGTM.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

All tests passed. PTAL :-)

@jridgewell
Copy link
Contributor

LGTM.

@lannka lannka merged commit f9b2bdc into ampproject:master Aug 2, 2016
@lannka lannka deleted the lint_no_dupe_key branch August 2, 2016 21:13
ariangibson pushed a commit to Mixpo/amphtml that referenced this pull request Sep 7, 2016
mityaha pushed a commit to ooyala/amphtml that referenced this pull request Nov 30, 2016
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.

None yet

2 participants