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

Enable the object-shorthand ESLint rule #8353

Merged
merged 1 commit into from
Apr 30, 2017
Merged

Enable the object-shorthand ESLint rule #8353

merged 1 commit into from
Apr 30, 2017

Conversation

Snuffleupagus
Copy link
Collaborator

Please see http://eslint.org/docs/rules/object-shorthand. Note: This is another part of issue #7957.

Unfortunately, based on commit 9276d1d, it seems that we still need to maintain compatibility with old Node.js versions, hence certain files/directories that are executed in Node.js are currently exempt from this rule.

Furthermore, since the files specific to the Chromium extension are not run through Babel, the /extensions/chromium/ directory is also exempt from this rule.

Please see http://eslint.org/docs/rules/object-shorthand.

Unfortunately, based on commit 9276d1d, it seems that we still need to maintain compatibility with old Node.js versions, hence certain files/directories that are executed in Node.js are currently exempt from this rule.

Furthermore, since the files specific to the Chromium extension are not run through Babel, the `/extensions/chromium/` directory is also exempt from this rule.
@Snuffleupagus
Copy link
Collaborator Author

/botio test

@pdfjsbot
Copy link

From: Bot.io (Linux)


Received

Command cmd_test from @Snuffleupagus received. Current queue size: 0

Live output at: http://107.21.233.14:8877/4eb3649f32b18ee/output.txt

@pdfjsbot
Copy link

From: Bot.io (Windows)


Received

Command cmd_test from @Snuffleupagus received. Current queue size: 0

Live output at: http://54.215.176.217:8877/ad18978cc9c6a8b/output.txt

@pdfjsbot
Copy link

From: Bot.io (Windows)


Success

Full output at http://54.215.176.217:8877/ad18978cc9c6a8b/output.txt

Total script time: 21.25 mins

  • Font tests: Passed
  • Unit tests: Passed
  • Regression tests: Passed

@pdfjsbot
Copy link

From: Bot.io (Linux)


Failed

Full output at http://107.21.233.14:8877/4eb3649f32b18ee/output.txt

Total script time: 35.14 mins

  • Font tests: Passed
  • Unit tests: Passed
  • Regression tests: FAILED

Image differences available at: http://107.21.233.14:8877/4eb3649f32b18ee/reftest-analyzer.html#web=eq.log

@timvandermeij timvandermeij merged commit 60c232b into mozilla:master Apr 30, 2017
@timvandermeij
Copy link
Contributor

Looks good, thanks!

@Snuffleupagus Snuffleupagus deleted the eslint_object-shorthand branch April 30, 2017 20:59
movsb pushed a commit to movsb/pdf.js that referenced this pull request Jul 14, 2018
…thand

Enable the `object-shorthand` ESLint rule
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants