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

lint: allow lines to end in <pre> tags #208

Merged
merged 2 commits into from
May 27, 2020
Merged

lint: allow lines to end in <pre> tags #208

merged 2 commits into from
May 27, 2020

Conversation

bakkot
Copy link
Contributor

@bakkot bakkot commented May 27, 2020

See tc39/ecma262#2013 (comment).

Contains version bump commit (minor because of the inclusion of two new linting rules, in #205 and #207), so please rebase, not squash.

@@ -93,6 +108,9 @@ describe('linting algorithms', function () {
1. Other.
1. Other:
1. Substep.
1. Let _constructorText_ be the source text
<pre><code class="javascript">constructor() {}</code></pre>
1. Set _constructor_ to ParseText(_constructorText_, |MethodDefinition[~Yield, ~Await]|).
Copy link
Member

Choose a reason for hiding this comment

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

Was this line needed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It isn't strictly needed. I just wanted to confirm that the PR this change is intended to allow will in fact be allowed by it.

@bakkot bakkot merged commit 2c24b3f into master May 27, 2020
@bakkot bakkot deleted the line-ending-in-code branch May 27, 2020 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants