Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0f4199a

Browse files
authored
Add CLAUDE.md with development guidelines and commands (#450)
1 parent9ee582b commit0f4199a

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

‎CLAUDE.md‎

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
#Coder Extension Development Guidelines
2+
3+
##Build and Test Commands
4+
5+
- Build:`yarn build`
6+
- Watch mode:`yarn watch`
7+
- Package:`yarn package`
8+
- Lint:`yarn lint`
9+
- Lint with auto-fix:`yarn lint:fix`
10+
- Run all tests:`yarn test`
11+
- Run specific test:`vitest ./src/filename.test.ts`
12+
- CI test mode:`yarn test:ci`
13+
14+
##Code Style Guidelines
15+
16+
- TypeScript with strict typing
17+
- No semicolons (see`.prettierrc`)
18+
- Trailing commas for all multi-line lists
19+
- 120 character line width
20+
- Use ES6 features (arrow functions, destructuring, etc.)
21+
- Use`const` by default;`let` only when necessary
22+
- Prefix unused variables with underscore (e.g.,`_unused`)
23+
- Sort imports alphabetically in groups: external → parent → sibling
24+
- Error handling: wrap and type errors appropriately
25+
- Use async/await for promises, avoid explicit Promise construction where possible
26+
- Test files must be named`*.test.ts` and use Vitest

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp