Enforce consistent type specifiers
This commit is contained in:
Родитель
9d6962ede2
Коммит
21faed0191
|
@ -50,6 +50,7 @@ const baseConfig = {
|
|||
"prefer-const": ["warn", { destructuring: "all" }],
|
||||
"@typescript-eslint/no-throw-literal": "error",
|
||||
"@typescript-eslint/consistent-type-imports": "error",
|
||||
"import/consistent-type-specifier-style": ["error", "prefer-top-level"],
|
||||
"no-useless-escape": 0,
|
||||
camelcase: "off",
|
||||
curly: ["error", "all"],
|
||||
|
|
|
@ -15,7 +15,7 @@ import { pathExists, readJson, writeJson } from "fs-extra";
|
|||
import { resolve, relative } from "path";
|
||||
|
||||
import type { Octokit } from "@octokit/core";
|
||||
import { type RestEndpointMethodTypes } from "@octokit/rest";
|
||||
import type { RestEndpointMethodTypes } from "@octokit/rest";
|
||||
import { throttling } from "@octokit/plugin-throttling";
|
||||
|
||||
import { getFiles } from "./util/files";
|
||||
|
|
Загрузка…
Ссылка в новой задаче