Skip to content

template-lint: Enable require-button-type rule #2041

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

Merged
merged 2 commits into from
Dec 21, 2019
Merged

Conversation

Turbo87
Copy link
Member

@Turbo87 Turbo87 commented Dec 21, 2019

The default `type` is `submit`, which is most often not what we want. We should be explicit and set `type=button` instead to disable the implicit submit behavior.
@locks
Copy link
Contributor

locks commented Dec 21, 2019

@bors r+

@bors
Copy link
Contributor

bors commented Dec 21, 2019

📌 Commit 03a7905 has been approved by locks

@bors
Copy link
Contributor

bors commented Dec 21, 2019

⌛ Testing commit 03a7905 with merge 181cdba...

@bors
Copy link
Contributor

bors commented Dec 21, 2019

☀️ Test successful - checks-travis
Approved by: locks
Pushing 181cdba to master...

@bors bors merged commit 03a7905 into rust-lang:master Dec 21, 2019
@Turbo87
Copy link
Member Author

Turbo87 commented Dec 21, 2019

@bors r=@NullVoxPopuli

@Turbo87
Copy link
Member Author

Turbo87 commented Dec 21, 2019

lol... thanks GitHub for not refreshing the page automatically 😆

@Turbo87 Turbo87 deleted the button branch December 21, 2019 20:39
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.

5 participants