File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -51,14 +51,12 @@ Comments explain what code does or why it exists:
5151## Code Style
5252
5353- TypeScript with strict typing
54- - Use semicolons
55- - Trailing commas for all multi-line lists
56- - 120 character line width
54+ - Use Prettier for code formatting and ESLint for code linting
5755- Use ES6 features (arrow functions, destructuring, etc.)
5856- Use ` const ` by default; ` let ` only when necessary
5957- Never use ` any ` , and use exact types when you can
6058- Prefix unused variables with underscore (e.g., ` _unused ` )
61- - Sort imports alphabetically in groups (see ` import/order ` in ` .eslintrc.json ` ): external → parent → sibling
6259- Error handling: wrap and type errors appropriately
6360- Use async/await for promises, avoid explicit Promise construction where possible
6461- Unit test files must be named ` *.test.ts ` and use Vitest, they should be placed in ` ./test/unit/<path in src> `
62+ - Never disable ESLint rules without user approval
You can’t perform that action at this time.
0 commit comments