diff options
| author | Tyler <[email protected]> | 2025-04-20 17:16:25 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-04-20 17:16:25 -0700 |
| commit | d55168f51ff989f6818ce386ae5ab7f383b9d3e3 (patch) | |
| tree | 65df07b5deac7024961839823583b6e61306cebd /packages/cli/src | |
| parent | 305ed41b880e10f8c04404ca7e35edfb9cc5392f (diff) | |
add linter for checking license headers (and eslint --fix target to match, and fix missing license headers while we're here) (#62)
Diffstat (limited to 'packages/cli/src')
| -rw-r--r-- | packages/cli/src/index.test.ts | 6 | ||||
| -rw-r--r-- | packages/cli/src/ui/colors.ts | 6 | ||||
| -rw-r--r-- | packages/cli/src/ui/hooks/useStdin.ts | 6 |
3 files changed, 18 insertions, 0 deletions
diff --git a/packages/cli/src/index.test.ts b/packages/cli/src/index.test.ts index bbe9fa8b..9d65e38f 100644 --- a/packages/cli/src/index.test.ts +++ b/packages/cli/src/index.test.ts @@ -1,3 +1,9 @@ +/** + * @license + * Copyright 2025 Google LLC + * SPDX-License-Identifier: Apache-2.0 + */ + import { describe, it, expect } from 'vitest'; import { toolRegistry } from './tools/tool-registry.js'; diff --git a/packages/cli/src/ui/colors.ts b/packages/cli/src/ui/colors.ts index be8dac19..946be512 100644 --- a/packages/cli/src/ui/colors.ts +++ b/packages/cli/src/ui/colors.ts @@ -1,3 +1,9 @@ +/** + * @license + * Copyright 2025 Google LLC + * SPDX-License-Identifier: Apache-2.0 + */ + export const Colors = { Background: '#1E1E2E', Foreground: 'white', diff --git a/packages/cli/src/ui/hooks/useStdin.ts b/packages/cli/src/ui/hooks/useStdin.ts index 8c741c9b..e91b90e6 100644 --- a/packages/cli/src/ui/hooks/useStdin.ts +++ b/packages/cli/src/ui/hooks/useStdin.ts @@ -1,3 +1,9 @@ +/** + * @license + * Copyright 2025 Google LLC + * SPDX-License-Identifier: Apache-2.0 + */ + import { useState, useEffect } from 'react'; import { useStdin } from 'ink'; |
