Skip to content

Commit 0df1950

Browse files
committed
fix format issues
1 parent f9c01fe commit 0df1950

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/copilot-instructions.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
# GitHub Copilot Instructions
22

33
## Development Philosophy
4+
45
- **Quality over quantity**: Write clean, maintainable, and well-structured code
56
- **Senior-level TypeScript**: Leverage advanced TypeScript features for type safety
67
- **Minimal and focused**: Every line of code should serve a clear purpose
78
- **Performance-conscious**: Consider efficiency and avoid unnecessary complexity
89

910
## TypeScript & ESLint Rules
11+
1012
- **No console.log**: Use proper logging or remove debug statements
1113
- **Consistent type imports**: Use `import type` for type-only imports
1214
- **No unused vars**: Prefix with `_` if intentionally unused
@@ -21,6 +23,7 @@
2123
- **Prefer directory imports**: Use `../src` instead of `../src/index` for cleaner imports
2224

2325
## Prettier Configuration
26+
2427
- **Print width**: 100 characters max
2528
- **No semicolons**: Use semicolon-free style
2629
- **Import order**: Follow the specified import grouping:
@@ -31,6 +34,7 @@
3134
5. Relative imports (~/,../, ./)
3235

3336
## Code Generation Guidelines
37+
3438
- Remove all `console.log` statements from generated code
3539
- Use proper TypeScript types instead of `any` when possible
3640
- **Use type-fest when available** - Prefer battle-tested utility types from type-fest over custom implementations
@@ -46,8 +50,9 @@
4650
- Optimize for readability and maintainability
4751

4852
## File Structure
53+
4954
- Keep imports organized according to prettier rules
5055
- Use meaningful variable and function names
5156
- Add proper JSDoc comments for public APIs
5257
- Prefer composition over inheritance
53-
- Use readonly arrays and objects where appropriate
58+
- Use readonly arrays and objects where appropriate

.prettierignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
dist/
1+
dist/
2+
pnpm-lock.yaml

0 commit comments

Comments
 (0)