Enforce consistent type specifiers

This commit is contained in:
Koen Vlaswinkel 2024-01-05 17:15:58 +01:00
Родитель 9d6962ede2
Коммит 21faed0191
2 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -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";