Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Build: Correct code indentations based on jQuery Style Guide#4672

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
mgol merged 1 commit intojquery:masterfromwonseop:idiom
May 5, 2020

Conversation

wonseop
Copy link
Contributor

@wonseopwonseop commentedApr 17, 2020
edited
Loading

Summary

Checklist

@mgol
Copy link
Member

Thanks for the PR!

I'm wondering if we shouldn't just enable theindent option, at least insrc/.eslintrc.json. I'm sure there are some violations but I've heard that rule has improved a lot recently so maybe it'd be feasible for us to use it. That way we won't need to apply such small indentation fixes but we'll be sure it's fine all the time.

Docs for the indent rule:https://eslint.org/docs/rules/indent.

Would you like to have a look at that?

@wonseopwonseopforce-pushed theidiom branch 2 times, most recently from7b84c3e todfed21eCompareApril 23, 2020 11:11
Copy link
Member

@mgolmgol left a comment

Choose a reason for hiding this comment

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

I added a few comments. Overall, this looks great! I was afraid we'd need more source changes.

@wonseopwonseop changed the titleCorrect code indentation according to Core Style GuideCorrect code indentation based on Core Style GuideApr 24, 2020
@wonseopwonseopforce-pushed theidiom branch 2 times, most recently from0e2964d to8bcc817CompareApril 24, 2020 07:33
Copy link
Member

@mgolmgol left a comment

Choose a reason for hiding this comment

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

Please rebase your branch over latest master. There have been some changes to the ESLint config recently so I'd like to be sure it passes the lint.

1. Correct code indentations based on Core Style Guide.   (https://contribute.jquery.org/style-guide/js/#spacing)2. Add rules to "src/.eslintrc.json" to enable "enforcing consistent indentation",   with minimal changes to the current code.
@wonseopwonseop changed the titleCorrect code indentation based on Core Style GuideBuild: Correct code indentations based on Core Style Guide.Apr 27, 2020
@wonseopwonseop requested a review frommgolApril 27, 2020 01:53
Copy link
Member

@mgolmgol left a comment

Choose a reason for hiding this comment

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

Thanks, looks good to me!

@mgolmgol added Build Discuss in MeetingReserved for Issues and PRs that anyone would like to discuss in the weekly meeting. Needs review labelsApr 27, 2020
@timmywiltimmywil removed the Discuss in MeetingReserved for Issues and PRs that anyone would like to discuss in the weekly meeting. labelApr 28, 2020
@mgol
Copy link
Member

@timmywil We didn't discuss it yet, I wanted a final team approval so let me add the label back.

@mgolmgol added the Discuss in MeetingReserved for Issues and PRs that anyone would like to discuss in the weekly meeting. labelApr 29, 2020
Copy link
Member

@timmywiltimmywil left a comment

Choose a reason for hiding this comment

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

LGTM

@mgolmgol removed Discuss in MeetingReserved for Issues and PRs that anyone would like to discuss in the weekly meeting. Needs review labelsMay 4, 2020
@mgolmgol added this to the4.0.0 milestoneMay 4, 2020
@mgolmgol changed the titleBuild: Correct code indentations based on Core Style Guide.Build: Correct code indentations based on jQuery Style GuideMay 5, 2020
@mgolmgol merged commit3d62d57 intojquery:masterMay 5, 2020
mgol pushed a commit to mgol/jquery that referenced this pull requestMay 5, 2020
1. Correct code indentations based on jQuery Style Guide   (contribute.jquery.org/style-guide/js/#spacing).2. Add rules to "src/.eslintrc.json" to enable "enforcing consistent   indentation", with minimal changes to the current code.Closesjquerygh-4672(cherry picked from3d62d57)
@mgolmgol removed this from the4.0.0 milestoneMay 5, 2020
@mgolmgol added this to the3.6.0 milestoneMay 5, 2020
@mgol
Copy link
Member

mgol commentedMay 5, 2020

Landed, thanks,@wonseop!

wonseop reacted with thumbs up emoji

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@timmywiltimmywiltimmywil approved these changes

@mgolmgolmgol approved these changes

Assignees
No one assigned
Labels
Milestone
3.6.0
Development

Successfully merging this pull request may close these issues.

3 participants
@wonseop@mgol@timmywil

[8]ページ先頭

©2009-2025 Movatter.jp