Closed as not planned
Description
Bug Report
🔎 Search Terms
- Semicolon organize import
- Semicolon vscode
🕗 Version & Regression Information
- This is the behavior in every version I tried, and I reviewed the FAQ for entries about semicolon organize import
💻 Code
import { resolve } from "path"
type test = { var1: number; var2: string }
console.log(resolve(__dirname))
Vscode config (settings.json
) :
Prettier config (.prettierrc
)
{
"semi": false
}
🙁 Actual behavior
When i save file, this add semicolon on all import
.
🙂 Expected behavior
No add semicolon on import
.
Additional information
That issue ONLY append when i have an type write like that { var1: number; var2: string }
, so i think the organize/sort (maybe from here #31801) think the semicolon is used because is present in code.