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

feat: sync v8.31.0 #94

Merged
merged 7 commits into from Feb 25, 2023
Merged

feat: sync v8.31.0 #94

merged 7 commits into from Feb 25, 2023

Conversation

kecrily
Copy link
Member

@kecrily kecrily commented Feb 19, 2023

Prerequisites checklist

What is the purpose of this pull request?

sync v8.31.0 from eslint repo

What changes did you make? (Give an overview)

Related Issues

Is there anything you'd like reviewers to focus on?

@netlify
Copy link

netlify bot commented Feb 19, 2023

Deploy Preview for zh-hans-docs ready!

Name Link
🔨 Latest commit 26d3c51
🔍 Latest deploy log https://app.netlify.com/sites/zh-hans-docs/deploys/63fa19d54256b50008b12bea
😎 Deploy Preview https://deploy-preview-94--zh-hans-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Copy link
Member

@mdjermanovic mdjermanovic left a comment

Choose a reason for hiding this comment

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

These changes look good.

Two questions:

  1. Should we also include the fix in formatters/index.md? (eslint/eslint@d9a39c7)
  2. Since we're copying all files, the left sidebar menu now has duplicate items (e.g., there is [用户指南] and Use ESLint in your project). Is that okay for now?

@kecrily
Copy link
Member Author

kecrily commented Feb 19, 2023

  1. Should we also include the fix in formatters/index.md? (eslint/eslint@d9a39c7)

I will update it.

  1. Since we're copying all files, the left sidebar menu now has duplicate items (e.g., there is [用户指南] and Use ESLint in your project). Is that okay for now?

Structural changes are included in v8.32.0. I will finish it sync as soon as possible.

I think this PR should be merged together at the same time as the upcoming sync PR for v8.32.0 is approved. Before that this PR should be blocked.

@ollie-iterators
Copy link

ollie-iterators commented Feb 20, 2023

This would be great to install because the chinese documentation has two versions of the links on the documentation site.
See: https://zh-hans.eslint.org/docs/latest/

@nzakas
Copy link
Member

nzakas commented Feb 20, 2023

@kecrily are you saying we should merge #95 before this one or after it?

@kecrily
Copy link
Member Author

kecrily commented Feb 21, 2023

@kecrily are you saying we should merge #95 before this one or after it?

I originally thought that the current site did not deploy commits with structural changes, so needed to merge both v8.31.0 and v8.32.0 to avoid duplicate content.

But it turns out that I was wrong, and the current site has already deployed the commits that have changed structure, so in normal order, v8.31.0 is merged first and then v8.32.0 is merged.

But we should also merge v8.32.0 as soon as possible, because it's too bad that the menu bar has duplicate content.


I also plan to take steps to have the version of content automatically pulled match the translated version, rather than always pulling the latest docs.

@nzakas
Copy link
Member

nzakas commented Feb 21, 2023

Makes sense!

Copy link
Member

@nzakas nzakas left a comment

Choose a reason for hiding this comment

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

LGTM pending @mdjermanovic's review.

Copy link
Member

@mdjermanovic mdjermanovic left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@mdjermanovic
Copy link
Member

Note that the HTML formatter page that should appear in an iframe is missing, but that doesn't seem to be caused by this particular change.

image

@mdjermanovic
Copy link
Member

I think this PR should be merged together at the same time as the upcoming sync PR for v8.32.0 is approved. Before that this PR should be blocked.

Makes sense, I'll let you merge this when and how you think it would be best.

Co-authored-by: Strek <ssharishkumar@gmail.com>
@kecrily
Copy link
Member Author

kecrily commented Feb 25, 2023

Sorry it took so long to process, but my computer recently broke down and just got fixed.

@kecrily kecrily merged commit 00cb6f6 into latest Feb 25, 2023
@kecrily kecrily deleted the sync/8.31.0 branch February 25, 2023 14:24
kecrily added a commit that referenced this pull request Feb 28, 2023
* docs: User Guide Getting Started expansion

* docs: add options to check destructuring in no-underscore-dangle

eslint/eslint#16006

* docs: adjust some words

* docs: Add function call example for no-undefined

eslint/eslint#16712

* docs: check assignment patterns in no-underscore-dangle

eslint/eslint#16693

* update formatters

* Apply suggestions from code review

Co-authored-by: Strek <ssharishkumar@gmail.com>

---------

Co-authored-by: Strek <ssharishkumar@gmail.com>
kecrily added a commit that referenced this pull request Feb 28, 2023
* docs: User Guide Getting Started expansion

* docs: add options to check destructuring in no-underscore-dangle

eslint/eslint#16006

* docs: adjust some words

* docs: Add function call example for no-undefined

eslint/eslint#16712

* docs: check assignment patterns in no-underscore-dangle

eslint/eslint#16693

* update formatters

* Apply suggestions from code review

Co-authored-by: Strek <ssharishkumar@gmail.com>

---------

Co-authored-by: Strek <ssharishkumar@gmail.com>
kecrily added a commit that referenced this pull request Feb 28, 2023
* docs: add options to check destructuring in no-underscore-dangle

eslint/eslint#16006

* docs: check assignment patterns in no-underscore-dangle

eslint/eslint#16693

* docs: use inline code for rule options name

eslint/eslint#16768

* docs: ignore directives for no-fallthrough

eslint/eslint#16757

* docs: IA Update page URL move

eslint/eslint#16665

* update

* feat: sync v8.31.0 (#94)

* docs: User Guide Getting Started expansion

* docs: add options to check destructuring in no-underscore-dangle

eslint/eslint#16006

* docs: adjust some words

* docs: Add function call example for no-undefined

eslint/eslint#16712

* docs: check assignment patterns in no-underscore-dangle

eslint/eslint#16693

* update formatters

* Apply suggestions from code review

Co-authored-by: Strek <ssharishkumar@gmail.com>

---------

Co-authored-by: Strek <ssharishkumar@gmail.com>

* docs: add options to check destructuring in no-underscore-dangle

eslint/eslint#16006

* docs: IA Update page URL move

eslint/eslint#16665

---------

Co-authored-by: Strek <ssharishkumar@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants