chore: update .gitignore and improve coding standards documentation
- Added .cursor/sessions/* to .gitignore to prevent session files from being tracked. - Enhanced coding standards in SKILL.md by adding semicolons to TypeScript examples for consistency. - Improved formatting in continuous learning, detail layout, and other SKILL.md files for better readability. These changes aim to streamline development processes and maintain code quality across the project.
This commit is contained in:
@@ -34,12 +34,12 @@ User: /tdd Add validation for the full-page name field
|
||||
|
||||
```typescript
|
||||
// full-page.validator.test.ts
|
||||
import { createFullPageSchema } from './full-page.validator'
|
||||
import { createFullPageSchema } from './full-page.validator';
|
||||
|
||||
it('rejects an empty name', () => {
|
||||
const schema = createFullPageSchema((k) => k)
|
||||
expect(schema.safeParse({ code: 'ABC', name: '' }).success).toBe(false)
|
||||
})
|
||||
const schema = createFullPageSchema((k) => k);
|
||||
expect(schema.safeParse({ code: 'ABC', name: '' }).success).toBe(false);
|
||||
});
|
||||
```
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user