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

Use strict mode for the linter #2288

Merged
merged 2 commits into from
Jun 20, 2018
Merged

Conversation

ExE-Boss
Copy link
Contributor

@ExE-Boss ExE-Boss commented Jun 11, 2018

Also fixes the issue where an error in a single file would cause all subsequent files to be printed at the end.

Edit: turns out it doesn’t, but #2459 might finally fix it.

  Also fixes the issue where an error in a single file would cause
all subsequent files to be printed at the end.
@ExE-Boss ExE-Boss changed the title Use strict mode for the linter Use strict mode Jun 11, 2018
@ExE-Boss ExE-Boss changed the title Use strict mode Use strict mode for the linter Jun 11, 2018
@Elchi3 Elchi3 added the linter 🏡 Issues or pull requests regarding the tests / linter of the JSON files. label Jun 13, 2018
Copy link
Member

@Elchi3 Elchi3 left a comment

Choose a reason for hiding this comment

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

Great clean-up work, @ExE-Boss!
I like your use of Map here a lot.
The changes of var to const or let look correct to me, too. Using more destructuring takes a little bit more for me to get used to, but it looks alright as well. r+

@Elchi3 Elchi3 merged commit 7e7e38e into mdn:master Jun 20, 2018
@ExE-Boss ExE-Boss deleted the linter/use-strict branch June 20, 2018 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
linter 🏡 Issues or pull requests regarding the tests / linter of the JSON files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants