Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

Commit

Permalink
run lintdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
leops committed Dec 19, 2022
1 parent 704608a commit baa91e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions website/src/pages/lint/rules/noUnreachableSuper.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class A extends B {

<pre class="language-text"><code class="language-text">nursery/noUnreachableSuper.js:2:5 <a href="https://rome.tools/docs/lint/rules/noUnreachableSuper">lint/nursery/noUnreachableSuper</a> ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

<strong><span style="color: Tomato;"> </span></strong><strong><span style="color: Tomato;">✖</span></strong> <span style="color: Tomato;">this constructor can return without calling `super()`</span>
<strong><span style="color: Tomato;"> </span></strong><strong><span style="color: Tomato;">✖</span></strong> <span style="color: Tomato;">this constructor returns without calling `super()`</span>

<strong>1 │ </strong>class A extends B {
<strong><span style="color: Tomato;"> </span></strong><strong><span style="color: Tomato;">&gt;</span></strong> <strong>2 │ </strong> constructor() {}
Expand All @@ -42,7 +42,7 @@ class A extends B {

<pre class="language-text"><code class="language-text">nursery/noUnreachableSuper.js:3:9 <a href="https://rome.tools/docs/lint/rules/noUnreachableSuper">lint/nursery/noUnreachableSuper</a> ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

<strong><span style="color: Tomato;"> </span></strong><strong><span style="color: Tomato;">✖</span></strong> <span style="color: Tomato;">`this` can be accessed before `super()` is called</span>
<strong><span style="color: Tomato;"> </span></strong><strong><span style="color: Tomato;">✖</span></strong> <span style="color: Tomato;">`this` is accessed before `super()` is called</span>

<strong>1 │ </strong>class A extends B {
<strong>2 │ </strong> constructor(value) {
Expand Down Expand Up @@ -74,7 +74,7 @@ class A extends B {

<pre class="language-text"><code class="language-text">nursery/noUnreachableSuper.js:2:5 <a href="https://rome.tools/docs/lint/rules/noUnreachableSuper">lint/nursery/noUnreachableSuper</a> ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

<strong><span style="color: Tomato;"> </span></strong><strong><span style="color: Tomato;">✖</span></strong> <span style="color: Tomato;">this constructor can return without calling `super()`</span>
<strong><span style="color: Tomato;"> </span></strong><strong><span style="color: Tomato;">✖</span></strong> <span style="color: Tomato;">this constructor returns without calling `super()`</span>

<strong>1 │ </strong>class A extends B {
<strong><span style="color: Tomato;"> </span></strong><strong><span style="color: Tomato;">&gt;</span></strong> <strong>2 │ </strong> constructor(cond) {
Expand Down

0 comments on commit baa91e8

Please sign in to comment.