Skip to content

Commit 9fd5436

Browse files
committed
formatting
1 parent cb293ed commit 9fd5436

File tree

4 files changed

+22
-3
lines changed

4 files changed

+22
-3
lines changed

.claude/settings.local.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"permissions": {
3+
"allow": ["Bash(git add:*)", "Bash(git commit:*)"],
4+
"deny": []
5+
}
6+
}

CLAUDE.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,20 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
55
## Development Commands
66

77
### Build and Development
8+
89
- `npm run build` - Compile TypeScript to JavaScript in dist/ directory
910
- `npm run build:watch` - Build in watch mode for development
1011
- `npm ci` - Install dependencies (preferred over npm install)
1112

1213
### Testing
14+
1315
- `npm test` - Run all tests with Jest
1416
- `npm run test:watch` - Run tests in watch mode
1517
- Tests are located in src/ alongside source files with .test.ts extension
1618
- Jest configuration includes global setup/teardown in test/ directory
1719

1820
### Code Quality
21+
1922
- `npm run lint` - Run ESLint checks
2023
- `npm run lint --fix` - Auto-fix linting issues where possible
2124
- `npm run format` - Format code with Prettier
@@ -26,22 +29,25 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
2629
This is a TypeScript package template with a minimal structure:
2730

2831
- **src/index.ts** - Main entry point for the package
29-
- **src/*.test.ts** - Test files co-located with source code
32+
- **src/\*.test.ts** - Test files co-located with source code
3033
- **dist/** - Compiled JavaScript output (generated by `npm run build`)
3134
- **test/global-setup.ts|global-teardown.ts** - Jest global test configuration
3235

3336
### TypeScript Configuration
37+
3438
- Targets ES2017 with CommonJS modules
3539
- Outputs to dist/ directory with source maps and declarations
3640
- Excludes test files from compilation
3741
- Strict type checking enabled
3842

3943
### Code Standards
44+
4045
- Apache 2.0 license headers required on all files (enforced by @labset-eslint/license-notice)
4146
- Import ordering enforced alphabetically with newlines between groups
42-
- TypeScript ESLint rules for unused variables (ignoring parameters prefixed with _)
47+
- TypeScript ESLint rules for unused variables (ignoring parameters prefixed with \_)
4348
- Prettier for code formatting
4449

4550
### Node Version Management
51+
4652
- Uses nvm for Node.js version management
47-
- Run `nvm install` to install the correct Node version
53+
- Run `nvm install` to install the correct Node version

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,9 @@ npm run lint --fix
4848
```bash
4949
npm test
5050
```
51+
52+
- invite claude
53+
54+
```bash
55+
npm run claude
56+
```

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"dist"
1212
],
1313
"scripts": {
14+
"claude": "claude",
1415
"build": "tsc",
1516
"build:watch": "tsc --watch",
1617
"test": "jest",

0 commit comments

Comments
 (0)