From d5d1ba0de7096ac70ae120743c6b19afbd16c7f9 Mon Sep 17 00:00:00 2001 From: Lars Kappert Date: Sun, 10 Nov 2024 11:28:06 +0100 Subject: [PATCH] Format --- package.json | 2 +- packages/knip/src/plugins/index.ts | 2 ++ packages/knip/src/types/PluginNames.ts | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index fbfcee7ad..27ff35b26 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "watch": "bun run --cwd packages/knip watch", "docs": "bun run --cwd packages/docs dev", "test": "bun run --cwd packages/knip test", - "format": "biome format .", + "format": "biome check --write", "lint": "biome lint .", "ci": "biome ci . && installed-check --no-include-workspace-root --ignore-dev" }, diff --git a/packages/knip/src/plugins/index.ts b/packages/knip/src/plugins/index.ts index 4e09626b2..4d4bcdfd7 100644 --- a/packages/knip/src/plugins/index.ts +++ b/packages/knip/src/plugins/index.ts @@ -17,6 +17,7 @@ import { default as eleventy } from './eleventy/index.js'; import { default as eslint } from './eslint/index.js'; import { default as gatsby } from './gatsby/index.js'; import { default as githubActions } from './github-actions/index.js'; +import { default as glob } from './glob/index.js'; import { default as graphqlCodegen } from './graphql-codegen/index.js'; import { default as husky } from './husky/index.js'; import { default as jest } from './jest/index.js'; @@ -103,6 +104,7 @@ export const Plugins = { eslint, gatsby, 'github-actions': githubActions, + glob, 'graphql-codegen': graphqlCodegen, husky, jest, diff --git a/packages/knip/src/types/PluginNames.ts b/packages/knip/src/types/PluginNames.ts index f37b82c82..eefe407c9 100644 --- a/packages/knip/src/types/PluginNames.ts +++ b/packages/knip/src/types/PluginNames.ts @@ -18,6 +18,7 @@ export type PluginName = | 'eslint' | 'gatsby' | 'github-actions' + | 'glob' | 'graphql-codegen' | 'husky' | 'jest' @@ -104,6 +105,7 @@ export const pluginNames = [ 'eslint', 'gatsby', 'github-actions', + 'glob', 'graphql-codegen', 'husky', 'jest',