Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[eslint] Add rules for consistent type imports #31302

Closed
mpodwysocki opened this issue Oct 3, 2024 · 1 comment
Closed

[eslint] Add rules for consistent type imports #31302

mpodwysocki opened this issue Oct 3, 2024 · 1 comment
Assignees

Comments

@mpodwysocki
Copy link
Member

mpodwysocki commented Oct 3, 2024

We should enable the following ESLint rules:

The default for consistent type imports should separate the type imports from the regular imports such as the following:

import type {
  CommonClientOptions,
  OperationOptions,
  InternalClientPipelineOptions,
} from "@azure/core-client";
import { bearerTokenAuthenticationPolicy } from "@azure/core-rest-pipeline";
import type { TokenCredential } from "@azure/core-auth";
import type { TracingClient} from "@azure/core-tracing";
import { createTracingClient } from "@azure/core-tracing";
@jeremymeng
Copy link
Member

this has been added in October.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants