Skip to content

Commit 21faed0

Browse files
committed
Enforce consistent type specifiers
1 parent 9d6962e commit 21faed0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

extensions/ql-vscode/.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ const baseConfig = {
5050
"prefer-const": ["warn", { destructuring: "all" }],
5151
"@typescript-eslint/no-throw-literal": "error",
5252
"@typescript-eslint/consistent-type-imports": "error",
53+
"import/consistent-type-specifier-style": ["error", "prefer-top-level"],
5354
"no-useless-escape": 0,
5455
camelcase: "off",
5556
curly: ["error", "all"],

extensions/ql-vscode/scripts/add-fields-to-scenarios.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import { pathExists, readJson, writeJson } from "fs-extra";
1515
import { resolve, relative } from "path";
1616

1717
import type { Octokit } from "@octokit/core";
18-
import { type RestEndpointMethodTypes } from "@octokit/rest";
18+
import type { RestEndpointMethodTypes } from "@octokit/rest";
1919
import { throttling } from "@octokit/plugin-throttling";
2020

2121
import { getFiles } from "./util/files";

0 commit comments

Comments
 (0)