Unified · Split
| @@ -2,7 +2,6 @@ · 1 unmodified line | |||
| 2 | // Sanity-check the conversion and remove this comment. | 2 | // Sanity-check the conversion and remove this comment. |
| 3 | /* | 3 | /* |
| 4 | * decaffeinate suggestions: | 4 | * decaffeinate suggestions: |
| 5 | * DS002: Fix invalid constructor | ||
| 6 | * DS101: Remove unnecessary use of Array.from | 5 | * DS101: Remove unnecessary use of Array.from |
| 7 | * DS102: Remove unnecessary code created because of implicit returns | 6 | * DS102: Remove unnecessary code created because of implicit returns |
| 8 | * DS104: Avoid inline assignments | 7 | * DS104: Avoid inline assignments |
| @@ -2,7 +2,6 @@ · 1 unmodified line | |||
| 2 | // Sanity-check the conversion and remove this comment. | 2 | // Sanity-check the conversion and remove this comment. |
| 3 | /* | 3 | /* |
| 4 | * decaffeinate suggestions: | 4 | * decaffeinate suggestions: |
| 5 | * DS002: Fix invalid constructor | ||
| 6 | * DS102: Remove unnecessary code created because of implicit returns | 5 | * DS102: Remove unnecessary code created because of implicit returns |
| 7 | * DS103: Rewrite code to no longer use __guard__, or convert again using --optional-chaining | 6 | * DS103: Rewrite code to no longer use __guard__, or convert again using --optional-chaining |
| 8 | * DS104: Avoid inline assignments | 7 | * DS104: Avoid inline assignments |
| @@ -2,7 +2,6 @@ · 1 unmodified line | |||
| 2 | // Sanity-check the conversion and remove this comment. | 2 | // Sanity-check the conversion and remove this comment. |
| 3 | /* | 3 | /* |
| 4 | * decaffeinate suggestions: | 4 | * decaffeinate suggestions: |
| 5 | * DS002: Fix invalid constructor | ||
| 6 | * DS101: Remove unnecessary use of Array.from | 5 | * DS101: Remove unnecessary use of Array.from |
| 7 | * DS102: Remove unnecessary code created because of implicit returns | 6 | * DS102: Remove unnecessary code created because of implicit returns |
| 8 | * DS205: Consider reworking code to avoid use of IIFEs | 7 | * DS205: Consider reworking code to avoid use of IIFEs |
| @@ -2,7 +2,6 @@ · 1 unmodified line | |||
| 2 | // Sanity-check the conversion and remove this comment. | 2 | // Sanity-check the conversion and remove this comment. |
| 3 | /* | 3 | /* |
| 4 | * decaffeinate suggestions: | 4 | * decaffeinate suggestions: |
| 5 | * DS002: Fix invalid constructor | ||
| 6 | * DS101: Remove unnecessary use of Array.from | 5 | * DS101: Remove unnecessary use of Array.from |
| 7 | * DS102: Remove unnecessary code created because of implicit returns | 6 | * DS102: Remove unnecessary code created because of implicit returns |
| 8 | * DS206: Consider reworking classes to avoid initClass | 7 | * DS206: Consider reworking classes to avoid initClass |
| @@ -2,7 +2,6 @@ · 1 unmodified line | |||
| 2 | // Sanity-check the conversion and remove this comment. | 2 | // Sanity-check the conversion and remove this comment. |
| 3 | /* | 3 | /* |
| 4 | * decaffeinate suggestions: | 4 | * decaffeinate suggestions: |
| 5 | * DS002: Fix invalid constructor | ||
| 6 | * DS102: Remove unnecessary code created because of implicit returns | 5 | * DS102: Remove unnecessary code created because of implicit returns |
| 7 | * DS206: Consider reworking classes to avoid initClass | 6 | * DS206: Consider reworking classes to avoid initClass |
| 8 | * Full docs: https://github.com/decaffeinate/decaffeinate/blob/main/docs/suggestions.md | 7 | * Full docs: https://github.com/decaffeinate/decaffeinate/blob/main/docs/suggestions.md |
| @@ -2,7 +2,6 @@ · 1 unmodified line | |||
| 2 | // Sanity-check the conversion and remove this comment. | 2 | // Sanity-check the conversion and remove this comment. |
| 3 | /* | 3 | /* |
| 4 | * decaffeinate suggestions: | 4 | * decaffeinate suggestions: |
| 5 | * DS002: Fix invalid constructor | ||
| 6 | * DS101: Remove unnecessary use of Array.from | 5 | * DS101: Remove unnecessary use of Array.from |
| 7 | * DS102: Remove unnecessary code created because of implicit returns | 6 | * DS102: Remove unnecessary code created because of implicit returns |
| 8 | * DS205: Consider reworking code to avoid use of IIFEs | 7 | * DS205: Consider reworking code to avoid use of IIFEs |
| @@ -2,7 +2,6 @@ · 1 unmodified line | |||
| 2 | // Sanity-check the conversion and remove this comment. | 2 | // Sanity-check the conversion and remove this comment. |
| 3 | /* | 3 | /* |
| 4 | * decaffeinate suggestions: | 4 | * decaffeinate suggestions: |
| 5 | * DS002: Fix invalid constructor | ||
| 6 | * DS102: Remove unnecessary code created because of implicit returns | 5 | * DS102: Remove unnecessary code created because of implicit returns |
| 7 | * DS206: Consider reworking classes to avoid initClass | 6 | * DS206: Consider reworking classes to avoid initClass |
| 8 | * DS207: Consider shorter variations of null checks | 7 | * DS207: Consider shorter variations of null checks |
| @@ -2,7 +2,6 @@ · 1 unmodified line | |||
| 2 | // Sanity-check the conversion and remove this comment. | 2 | // Sanity-check the conversion and remove this comment. |
| 3 | /* | 3 | /* |
| 4 | * decaffeinate suggestions: | 4 | * decaffeinate suggestions: |
| 5 | * DS002: Fix invalid constructor | ||
| 6 | * DS206: Consider reworking classes to avoid initClass | 5 | * DS206: Consider reworking classes to avoid initClass |
| 7 | * Full docs: https://github.com/decaffeinate/decaffeinate/blob/main/docs/suggestions.md | 6 | * Full docs: https://github.com/decaffeinate/decaffeinate/blob/main/docs/suggestions.md |
| 8 | */ | 7 | */ |
| @@ -2,7 +2,6 @@ · 1 unmodified line | |||
| 2 | // Sanity-check the conversion and remove this comment. | 2 | // Sanity-check the conversion and remove this comment. |
| 3 | /* | 3 | /* |
| 4 | * decaffeinate suggestions: | 4 | * decaffeinate suggestions: |
| 5 | * DS002: Fix invalid constructor | ||
| 6 | * DS102: Remove unnecessary code created because of implicit returns | 5 | * DS102: Remove unnecessary code created because of implicit returns |
| 7 | * DS206: Consider reworking classes to avoid initClass | 6 | * DS206: Consider reworking classes to avoid initClass |
| 8 | * DS207: Consider shorter variations of null checks | 7 | * DS207: Consider shorter variations of null checks |
| @@ -2,7 +2,6 @@ · 1 unmodified line | |||
| 2 | // Sanity-check the conversion and remove this comment. | 2 | // Sanity-check the conversion and remove this comment. |
| 3 | /* | 3 | /* |
| 4 | * decaffeinate suggestions: | 4 | * decaffeinate suggestions: |
| 5 | * DS002: Fix invalid constructor | ||
| 6 | * DS101: Remove unnecessary use of Array.from | 5 | * DS101: Remove unnecessary use of Array.from |
| 7 | * DS206: Consider reworking classes to avoid initClass | 6 | * DS206: Consider reworking classes to avoid initClass |
| 8 | * Full docs: https://github.com/decaffeinate/decaffeinate/blob/main/docs/suggestions.md | 7 | * Full docs: https://github.com/decaffeinate/decaffeinate/blob/main/docs/suggestions.md |
| @@ -2,7 +2,6 @@ · 1 unmodified line | |||
| 2 | // Sanity-check the conversion and remove this comment. | 2 | // Sanity-check the conversion and remove this comment. |
| 3 | /* | 3 | /* |
| 4 | * decaffeinate suggestions: | 4 | * decaffeinate suggestions: |
| 5 | * DS002: Fix invalid constructor | ||
| 6 | * DS102: Remove unnecessary code created because of implicit returns | 5 | * DS102: Remove unnecessary code created because of implicit returns |
| 7 | * DS206: Consider reworking classes to avoid initClass | 6 | * DS206: Consider reworking classes to avoid initClass |
| 8 | * Full docs: https://github.com/decaffeinate/decaffeinate/blob/main/docs/suggestions.md | 7 | * Full docs: https://github.com/decaffeinate/decaffeinate/blob/main/docs/suggestions.md |
| @@ -2,7 +2,6 @@ · 1 unmodified line | |||
| 2 | // Sanity-check the conversion and remove this comment. | 2 | // Sanity-check the conversion and remove this comment. |
| 3 | /* | 3 | /* |
| 4 | * decaffeinate suggestions: | 4 | * decaffeinate suggestions: |
| 5 | * DS002: Fix invalid constructor | ||
| 6 | * DS101: Remove unnecessary use of Array.from | 5 | * DS101: Remove unnecessary use of Array.from |
| 7 | * DS102: Remove unnecessary code created because of implicit returns | 6 | * DS102: Remove unnecessary code created because of implicit returns |
| 8 | * DS205: Consider reworking code to avoid use of IIFEs | 7 | * DS205: Consider reworking code to avoid use of IIFEs |
| @@ -2,7 +2,6 @@ · 1 unmodified line | |||
| 2 | // Sanity-check the conversion and remove this comment. | 2 | // Sanity-check the conversion and remove this comment. |
| 3 | /* | 3 | /* |
| 4 | * decaffeinate suggestions: | 4 | * decaffeinate suggestions: |
| 5 | * DS002: Fix invalid constructor | ||
| 6 | * DS102: Remove unnecessary code created because of implicit returns | 5 | * DS102: Remove unnecessary code created because of implicit returns |
| 7 | * DS206: Consider reworking classes to avoid initClass | 6 | * DS206: Consider reworking classes to avoid initClass |
| 8 | * DS207: Consider shorter variations of null checks | 7 | * DS207: Consider shorter variations of null checks |
| @@ -2,7 +2,6 @@ · 1 unmodified line | |||
| 2 | // Sanity-check the conversion and remove this comment. | 2 | // Sanity-check the conversion and remove this comment. |
| 3 | /* | 3 | /* |
| 4 | * decaffeinate suggestions: | 4 | * decaffeinate suggestions: |
| 5 | * DS002: Fix invalid constructor | ||
| 6 | * DS102: Remove unnecessary code created because of implicit returns | 5 | * DS102: Remove unnecessary code created because of implicit returns |
| 7 | * DS206: Consider reworking classes to avoid initClass | 6 | * DS206: Consider reworking classes to avoid initClass |
| 8 | * DS207: Consider shorter variations of null checks | 7 | * DS207: Consider shorter variations of null checks |
| @@ -2,7 +2,6 @@ · 1 unmodified line | |||
| 2 | // Sanity-check the conversion and remove this comment. | 2 | // Sanity-check the conversion and remove this comment. |
| 3 | /* | 3 | /* |
| 4 | * decaffeinate suggestions: | 4 | * decaffeinate suggestions: |
| 5 | * DS002: Fix invalid constructor | ||
| 6 | * DS102: Remove unnecessary code created because of implicit returns | 5 | * DS102: Remove unnecessary code created because of implicit returns |
| 7 | * DS103: Rewrite code to no longer use __guard__, or convert again using --optional-chaining | 6 | * DS103: Rewrite code to no longer use __guard__, or convert again using --optional-chaining |
| 8 | * DS206: Consider reworking classes to avoid initClass | 7 | * DS206: Consider reworking classes to avoid initClass |
| @@ -2,7 +2,6 @@ · 1 unmodified line | |||
| 2 | // Sanity-check the conversion and remove this comment. | 2 | // Sanity-check the conversion and remove this comment. |
| 3 | /* | 3 | /* |
| 4 | * decaffeinate suggestions: | 4 | * decaffeinate suggestions: |
| 5 | * DS002: Fix invalid constructor | ||
| 6 | * DS102: Remove unnecessary code created because of implicit returns | 5 | * DS102: Remove unnecessary code created because of implicit returns |
| 7 | * DS104: Avoid inline assignments | 6 | * DS104: Avoid inline assignments |
| 8 | * DS202: Simplify dynamic range loops | 7 | * DS202: Simplify dynamic range loops |
| @@ -2,7 +2,6 @@ · 1 unmodified line | |||
| 2 | // Sanity-check the conversion and remove this comment. | 2 | // Sanity-check the conversion and remove this comment. |
| 3 | /* | 3 | /* |
| 4 | * decaffeinate suggestions: | 4 | * decaffeinate suggestions: |
| 5 | * DS002: Fix invalid constructor | ||
| 6 | * DS206: Consider reworking classes to avoid initClass | 5 | * DS206: Consider reworking classes to avoid initClass |
| 7 | * Full docs: https://github.com/decaffeinate/decaffeinate/blob/main/docs/suggestions.md | 6 | * Full docs: https://github.com/decaffeinate/decaffeinate/blob/main/docs/suggestions.md |
| 8 | */ | 7 | */ |
| @@ -2,7 +2,6 @@ · 1 unmodified line | |||
| 2 | // Sanity-check the conversion and remove this comment. | 2 | // Sanity-check the conversion and remove this comment. |
| 3 | /* | 3 | /* |
| 4 | * decaffeinate suggestions: | 4 | * decaffeinate suggestions: |
| 5 | * DS002: Fix invalid constructor | ||
| 6 | * DS206: Consider reworking classes to avoid initClass | 5 | * DS206: Consider reworking classes to avoid initClass |
| 7 | * DS207: Consider shorter variations of null checks | 6 | * DS207: Consider shorter variations of null checks |
| 8 | * Full docs: https://github.com/decaffeinate/decaffeinate/blob/main/docs/suggestions.md | 7 | * Full docs: https://github.com/decaffeinate/decaffeinate/blob/main/docs/suggestions.md |
| @@ -2,7 +2,6 @@ · 1 unmodified line | |||
| 2 | // Sanity-check the conversion and remove this comment. | 2 | // Sanity-check the conversion and remove this comment. |
| 3 | /* | 3 | /* |
| 4 | * decaffeinate suggestions: | 4 | * decaffeinate suggestions: |
| 5 | * DS002: Fix invalid constructor | ||
| 6 | * DS101: Remove unnecessary use of Array.from | 5 | * DS101: Remove unnecessary use of Array.from |
| 7 | * DS102: Remove unnecessary code created because of implicit returns | 6 | * DS102: Remove unnecessary code created because of implicit returns |
| 8 | * DS207: Consider shorter variations of null checks | 7 | * DS207: Consider shorter variations of null checks |
| @@ -2,7 +2,6 @@ · 1 unmodified line | |||
| 2 | // Sanity-check the conversion and remove this comment. | 2 | // Sanity-check the conversion and remove this comment. |
| 3 | /* | 3 | /* |
| 4 | * decaffeinate suggestions: | 4 | * decaffeinate suggestions: |
| 5 | * DS002: Fix invalid constructor | ||
| 6 | * DS206: Consider reworking classes to avoid initClass | 5 | * DS206: Consider reworking classes to avoid initClass |
| 7 | * Full docs: https://github.com/decaffeinate/decaffeinate/blob/main/docs/suggestions.md | 6 | * Full docs: https://github.com/decaffeinate/decaffeinate/blob/main/docs/suggestions.md |
| 8 | */ | 7 | */ |
| @@ -2,7 +2,6 @@ · 1 unmodified line | |||
| 2 | // Sanity-check the conversion and remove this comment. | 2 | // Sanity-check the conversion and remove this comment. |
| 3 | /* | 3 | /* |
| 4 | * decaffeinate suggestions: | 4 | * decaffeinate suggestions: |
| 5 | * DS002: Fix invalid constructor | ||
| 6 | * DS101: Remove unnecessary use of Array.from | 5 | * DS101: Remove unnecessary use of Array.from |
| 7 | * DS102: Remove unnecessary code created because of implicit returns | 6 | * DS102: Remove unnecessary code created because of implicit returns |
| 8 | * DS206: Consider reworking classes to avoid initClass | 7 | * DS206: Consider reworking classes to avoid initClass |
| @@ -2,7 +2,6 @@ · 1 unmodified line | |||
| 2 | // Sanity-check the conversion and remove this comment. | 2 | // Sanity-check the conversion and remove this comment. |
| 3 | /* | 3 | /* |
| 4 | * decaffeinate suggestions: | 4 | * decaffeinate suggestions: |
| 5 | * DS002: Fix invalid constructor | ||
| 6 | * DS206: Consider reworking classes to avoid initClass | 5 | * DS206: Consider reworking classes to avoid initClass |
| 7 | * Full docs: https://github.com/decaffeinate/decaffeinate/blob/main/docs/suggestions.md | 6 | * Full docs: https://github.com/decaffeinate/decaffeinate/blob/main/docs/suggestions.md |
| 8 | */ | 7 | */ |
| @@ -2,7 +2,6 @@ · 1 unmodified line | |||
| 2 | // Sanity-check the conversion and remove this comment. | 2 | // Sanity-check the conversion and remove this comment. |
| 3 | /* | 3 | /* |
| 4 | * decaffeinate suggestions: | 4 | * decaffeinate suggestions: |
| 5 | * DS002: Fix invalid constructor | ||
| 6 | * DS102: Remove unnecessary code created because of implicit returns | 5 | * DS102: Remove unnecessary code created because of implicit returns |
| 7 | * DS103: Rewrite code to no longer use __guard__, or convert again using --optional-chaining | 6 | * DS103: Rewrite code to no longer use __guard__, or convert again using --optional-chaining |
| 8 | * DS206: Consider reworking classes to avoid initClass | 7 | * DS206: Consider reworking classes to avoid initClass |
| @@ -2,7 +2,6 @@ · 1 unmodified line | |||
| 2 | // Sanity-check the conversion and remove this comment. | 2 | // Sanity-check the conversion and remove this comment. |
| 3 | /* | 3 | /* |
| 4 | * decaffeinate suggestions: | 4 | * decaffeinate suggestions: |
| 5 | * DS002: Fix invalid constructor | ||
| 6 | * DS102: Remove unnecessary code created because of implicit returns | 5 | * DS102: Remove unnecessary code created because of implicit returns |
| 7 | * DS103: Rewrite code to no longer use __guard__, or convert again using --optional-chaining | 6 | * DS103: Rewrite code to no longer use __guard__, or convert again using --optional-chaining |
| 8 | * DS206: Consider reworking classes to avoid initClass | 7 | * DS206: Consider reworking classes to avoid initClass |
| @@ -2,7 +2,6 @@ · 1 unmodified line | |||
| 2 | // Sanity-check the conversion and remove this comment. | 2 | // Sanity-check the conversion and remove this comment. |
| 3 | /* | 3 | /* |
| 4 | * decaffeinate suggestions: | 4 | * decaffeinate suggestions: |
| 5 | * DS002: Fix invalid constructor | ||
| 6 | * DS101: Remove unnecessary use of Array.from | 5 | * DS101: Remove unnecessary use of Array.from |
| 7 | * DS206: Consider reworking classes to avoid initClass | 6 | * DS206: Consider reworking classes to avoid initClass |
| 8 | * DS207: Consider shorter variations of null checks | 7 | * DS207: Consider shorter variations of null checks |
| @@ -2,7 +2,6 @@ · 1 unmodified line | |||
| 2 | // Sanity-check the conversion and remove this comment. | 2 | // Sanity-check the conversion and remove this comment. |
| 3 | /* | 3 | /* |
| 4 | * decaffeinate suggestions: | 4 | * decaffeinate suggestions: |
| 5 | * DS002: Fix invalid constructor | ||
| 6 | * DS101: Remove unnecessary use of Array.from | 5 | * DS101: Remove unnecessary use of Array.from |
| 7 | * DS102: Remove unnecessary code created because of implicit returns | 6 | * DS102: Remove unnecessary code created because of implicit returns |
| 8 | * DS103: Rewrite code to no longer use __guard__, or convert again using --optional-chaining | 7 | * DS103: Rewrite code to no longer use __guard__, or convert again using --optional-chaining |
| @@ -2,7 +2,6 @@ · 1 unmodified line | |||
| 2 | // Sanity-check the conversion and remove this comment. | 2 | // Sanity-check the conversion and remove this comment. |
| 3 | /* | 3 | /* |
| 4 | * decaffeinate suggestions: | 4 | * decaffeinate suggestions: |
| 5 | * DS002: Fix invalid constructor | ||
| 6 | * DS102: Remove unnecessary code created because of implicit returns | 5 | * DS102: Remove unnecessary code created because of implicit returns |
| 7 | * DS206: Consider reworking classes to avoid initClass | 6 | * DS206: Consider reworking classes to avoid initClass |
| 8 | * Full docs: https://github.com/decaffeinate/decaffeinate/blob/main/docs/suggestions.md | 7 | * Full docs: https://github.com/decaffeinate/decaffeinate/blob/main/docs/suggestions.md |
| @@ -2,7 +2,6 @@ · 1 unmodified line | |||
| 2 | // Sanity-check the conversion and remove this comment. | 2 | // Sanity-check the conversion and remove this comment. |
| 3 | /* | 3 | /* |
| 4 | * decaffeinate suggestions: | 4 | * decaffeinate suggestions: |
| 5 | * DS002: Fix invalid constructor | ||
| 6 | * DS102: Remove unnecessary code created because of implicit returns | 5 | * DS102: Remove unnecessary code created because of implicit returns |
| 7 | * DS206: Consider reworking classes to avoid initClass | 6 | * DS206: Consider reworking classes to avoid initClass |
| 8 | * DS207: Consider shorter variations of null checks | 7 | * DS207: Consider shorter variations of null checks |
| @@ -2,7 +2,6 @@ · 1 unmodified line | |||
| 2 | // Sanity-check the conversion and remove this comment. | 2 | // Sanity-check the conversion and remove this comment. |
| 3 | /* | 3 | /* |
| 4 | * decaffeinate suggestions: | 4 | * decaffeinate suggestions: |
| 5 | * DS002: Fix invalid constructor | ||
| 6 | * DS102: Remove unnecessary code created because of implicit returns | 5 | * DS102: Remove unnecessary code created because of implicit returns |
| 7 | * DS103: Rewrite code to no longer use __guard__, or convert again using --optional-chaining | 6 | * DS103: Rewrite code to no longer use __guard__, or convert again using --optional-chaining |
| 8 | * DS206: Consider reworking classes to avoid initClass | 7 | * DS206: Consider reworking classes to avoid initClass |
| @@ -2,7 +2,6 @@ · 1 unmodified line | |||
| 2 | // Sanity-check the conversion and remove this comment. | 2 | // Sanity-check the conversion and remove this comment. |
| 3 | /* | 3 | /* |
| 4 | * decaffeinate suggestions: | 4 | * decaffeinate suggestions: |
| 5 | * DS002: Fix invalid constructor | ||
| 6 | * DS102: Remove unnecessary code created because of implicit returns | 5 | * DS102: Remove unnecessary code created because of implicit returns |
| 7 | * DS103: Rewrite code to no longer use __guard__, or convert again using --optional-chaining | 6 | * DS103: Rewrite code to no longer use __guard__, or convert again using --optional-chaining |
| 8 | * DS206: Consider reworking classes to avoid initClass | 7 | * DS206: Consider reworking classes to avoid initClass |
| @@ -2,7 +2,6 @@ · 1 unmodified line | |||
| 2 | // Sanity-check the conversion and remove this comment. | 2 | // Sanity-check the conversion and remove this comment. |
| 3 | /* | 3 | /* |
| 4 | * decaffeinate suggestions: | 4 | * decaffeinate suggestions: |
| 5 | * DS002: Fix invalid constructor | ||
| 6 | * DS101: Remove unnecessary use of Array.from | 5 | * DS101: Remove unnecessary use of Array.from |
| 7 | * DS102: Remove unnecessary code created because of implicit returns | 6 | * DS102: Remove unnecessary code created because of implicit returns |
| 8 | * DS103: Rewrite code to no longer use __guard__, or convert again using --optional-chaining | 7 | * DS103: Rewrite code to no longer use __guard__, or convert again using --optional-chaining |