question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow without semicolon

See original GitHub issue

When I’m write import { Application } from "https://deno.land/x/oak/mod.ts"

then save it, this will turn into a semicolon filled syntax:

import { Application } from "https://deno.land/x/oak/mod.ts";

I think some programmers don’t like the existence of this semicolon, so it is better to have the semicolon following the style of the programmer, without changing the code to semicolon or non-semicolon.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:7
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

7reactions
jerrygreencommented, Sep 27, 2020

I disabled all extensions except Deno extension, and I face the same problem, here’s some proof…

With only Deno extension enabled:

deno_enabled

With all extensions disabled (with the same vscode settings though, i.e. js/ts features are disabled in both cases):

all_disabled

Please, re-open the issue 🙏

1reaction
justjavaccommented, May 17, 2020

This is not the behavior of the extension, please check other extensions installed by your vscode

Read more comments on GitHub >

github_iconTop Results From Across the Web

semicolon - Rule
"never" disallows semicolons at the end of every statement except for when they are necessary. The following arguments may be optionally provided: "ignore- ......
Read more >
allow semi colons in javascript eslint - Stack Overflow
"always" (default) requires semicolons at the end of statements; "never" disallows semicolons as the end of statements (except to disambiguate statements ...
Read more >
Semicolons in JavaScript: To Use or Not to Use?
If you're going to write your JavaScript without optional semicolons, it's probably good to at least know what ASI is doing.
Read more >
Do I need to use a semicolon? - JavaScript FAQ
The semicolon denotes the end of the line, or statement. Although in JavaScript your code will usually run as intended without a semicolon,...
Read more >
semi - ESLint - Pluggable JavaScript Linter
Although ASI allows for more freedom over your coding style, it can also make your code behave in an unexpected way, whether you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found