mirror of
https://github.com/element-hq/matrix-authentication-service.git
synced 2026-05-12 21:45:08 +00:00
23 lines
662 B
TypeScript
23 lines
662 B
TypeScript
// Copyright 2024 New Vector Ltd.
|
|
//
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
// Please see LICENSE in the repository root for full details.
|
|
|
|
import type { KnipConfig } from "knip";
|
|
|
|
export default {
|
|
entry: [
|
|
"src/main.tsx",
|
|
"src/swagger.ts",
|
|
"src/routes/*",
|
|
"i18next-parser.config.ts",
|
|
],
|
|
ignore: ["src/gql/*", "src/routeTree.gen.ts", ".storybook/locales.ts"],
|
|
ignoreDependencies: [
|
|
// This is used by the tailwind PostCSS plugin, but not detected by knip
|
|
"postcss-nesting",
|
|
// We're using @storybook/addon-essentials to simplify upgrades, but knip doesn't detect them
|
|
"@storybook/addon-*",
|
|
],
|
|
} satisfies KnipConfig;
|