@wtasnorg/node-lib 0.0.9 → 0.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dev_checklist.txt CHANGED
@@ -9,10 +9,16 @@
9
9
 
10
10
  ### Structure & Style
11
11
 
12
- - [ ] Imports/Exports: Imports at the top, exports at the bottom.
12
+ - [ ] Imports/Exports
13
+ - [ ] Imports at the top, exports at the bottom.
14
+ - [ ] Export named functions, types, objects.
15
+ - [ ] Import named functions, types, objects.
13
16
  - [ ] Visibility: All primary functions should be exported.
14
- - [ ] Mutability: Prefer `const` over `let` (`prefer-const`).
15
- - [ ] Control Blocks: Always use braces `{}` for `if`, `for`, etc. (`curly`).
17
+ - [ ] Immutability: Prefer `const` over `let` (`prefer-const`).
18
+ - [ ] Control Blocks:
19
+ - [ ] Always use braces `{}` for `if`, `for`, etc. (`curly`).
20
+ - [ ] Use only `for` loop. Do not use `while`, `do-while`.
21
+ - [ ] Use `switch` instead of if-else ladder for one variable.
16
22
  - [ ] AI Agent Protocol: AI agents MUST honor the project's ESLint and EditorConfig settings for all modifications. Run `npm run lint` to verify compliance.
17
23
 
18
24
  ### Documentation & Examples