Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

Implement Prettier #118

Merged
merged 1 commit into from
May 11, 2020
Merged

Implement Prettier #118

merged 1 commit into from
May 11, 2020

Conversation

whyisjake
Copy link
Member

This is a fork of the work that @ntwb did in #111. I extended a few things and then brought the changes over from master.

@ntwb ntwb mentioned this pull request May 7, 2020
.prettierrc Outdated Show resolved Hide resolved
@ntwb
Copy link
Member

ntwb commented May 7, 2020

Looking good, this is what I'm seeing:

> wp-scripts lint-js


/Users/netweb/Code/WordPress/wp-autoupdates/js/wp-autoupdates.js
   37:5   error  'data' is never reassigned. Use 'const' instead    prefer-const
   45:13  error  'ajaxurl' is not defined                           no-undef
  117:23  error  'response' is defined but never used               no-unused-vars
  143:8   error  'plugin' is never reassigned. Use 'const' instead  prefer-const
  152:6   error  'jQuery' is not defined                            no-undef

✖ 5 problems (5 errors, 0 warnings)
  1 error and 0 warnings potentially fixable with the `--fix` option.

@whyisjake
Copy link
Member Author

@ntwb, added a few updates, coming back clean now.

@ntwb
Copy link
Member

ntwb commented May 7, 2020

Thanks @whyisjake 👍

js/wp-autoupdates.js Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
@whyisjake whyisjake force-pushed the whyisjake-coding-standards branch from 04f3dff to c091550 Compare May 9, 2020 05:37
whyisjake added a commit that referenced this pull request May 9, 2020
@whyisjake whyisjake force-pushed the whyisjake-coding-standards branch from 8e8ebd9 to 77b4698 Compare May 9, 2020 06:41
@whyisjake whyisjake self-assigned this May 9, 2020
@whyisjake
Copy link
Member Author

Ready for review @ntwb / @pbiron / @audrasjb

@audrasjb audrasjb self-requested a review May 11, 2020 21:36
Copy link
Contributor

@audrasjb audrasjb left a comment

Choose a reason for hiding this comment

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

Good to go 👍

@whyisjake whyisjake merged commit 696f4e2 into master May 11, 2020
@whyisjake whyisjake deleted the whyisjake-coding-standards branch May 11, 2020 21:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants