mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-03 05:13:35 +00:00
editor/code: Sort the style to import types
see: - https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/consistent-type-imports.md - https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-import-type-side-effects.md
This commit is contained in:
parent
6f2e8aaba6
commit
445b4fc27f
18 changed files with 52 additions and 37 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import * as assert from "assert";
|
||||
import { Cargo } from "../../src/toolchain";
|
||||
import { Context } from ".";
|
||||
import type { Context } from ".";
|
||||
|
||||
export async function getTests(ctx: Context) {
|
||||
await ctx.suite("Launch configuration/Lens", (suite) => {
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
import * as assert from "assert";
|
||||
import { prepareEnv } from "../../src/run";
|
||||
import { RunnableEnvCfg } from "../../src/config";
|
||||
import { Context } from ".";
|
||||
import * as ra from "../../src/lsp_ext";
|
||||
import type { RunnableEnvCfg } from "../../src/config";
|
||||
import type { Context } from ".";
|
||||
import type * as ra from "../../src/lsp_ext";
|
||||
|
||||
function makeRunnable(label: string): ra.Runnable {
|
||||
return {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import * as assert from "assert";
|
||||
import { Context } from ".";
|
||||
import type { Context } from ".";
|
||||
import { substituteVariablesInEnv } from "../../src/config";
|
||||
|
||||
export async function getTests(ctx: Context) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue