Skip to content

Commit 85531ba

Browse files
committed
.
Signed-off-by: Gil Desmarais <git@desmarais.de>
1 parent 851665e commit 85531ba

File tree

12 files changed

+317
-829
lines changed

12 files changed

+317
-829
lines changed

.github/copilot-instructions.md

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ Search these pages before using them. Find examples, plugins, UI components, and
3232
3. https://rspec.info/features/3-13/rspec-expectations/built-in-matchers/
3333
4. https://www.betterspecs.org/
3434

35+
Fix rubocop `RSpec/MultipleExpectations` adding rspec tag `:aggregate_failures`.
36+
3537
## Core Rules
3638

3739
- ✅ Use **Roda routing with `hash_branch`**. Keep routes small.
@@ -43,16 +45,6 @@ Search these pages before using them. Find examples, plugins, UI components, and
4345
-**CSS**: Use frontend styles in `frontend/public/styles.css`. Water.css for fallback.
4446
-**Specs**: RSpec for Ruby, build tests for frontend.
4547

46-
## Roda Large Applications Structure
47-
48-
This project follows [Roda Large Applications conventions](https://roda.jeremyevans.net/rdoc/files/doc/conventions_rdoc.html#label-Large+Applications):
49-
50-
- **Use `hash_branches` plugin** (not `hash_branch_view_subdir` since we have no views)
51-
- **Route modules** go in `routes/` directory (one file per prefix)
52-
- **Helper modules** go in `helpers/` directory with `module_function`
53-
- **Core app modules** stay in `app/` directory
54-
- **Load routes/helpers** with `Dir['routes/*.rb'].each { |f| require_relative f }`
55-
5648
## Don't
5749

5850
- ❌ Don't depend on JS for core flows.

0 commit comments

Comments
 (0)