Skip to content

Comments

[pull] develop from Orcpub:develop#82

Merged
pull[bot] merged 8 commits intodatdamnzotz:developfrom
Orcpub:develop
Feb 20, 2026
Merged

[pull] develop from Orcpub:develop#82
pull[bot] merged 8 commits intodatdamnzotz:developfrom
Orcpub:develop

Conversation

@pull
Copy link

@pull pull bot commented Feb 20, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

codeGlaze and others added 8 commits February 19, 2026 20:00
- Rename :if to :missing-else-branch (correct clj-kondo linter name)
- Add :clojure-lsp/unused-public-var :exclude for 5 live vars that LSP
  can't trace (cross-file macro refs, test-only callers)
- Add :exclude-when-defined-by for re-frame reg-event-db, reg-event-fx,
  reg-sub, reg-sub-raw (keyword dispatch is invisible to LSP)
#_ discard 43 dead vars:
- common.cljc (4): ptime, hours-per-day, rounds-to-hours, rounds-to-minutes
- character.cljc (6): add-namespaces + 2 cascade helpers, base-climbing-speed,
  saving-throw-advantages, max-armor-class
- classes.cljc (4): blessings-of-knowledge-skill, spell-level-to-cleric-level,
  spell-in-spells-known?, pact-weapon-option
- options.cljc (15): deprecated ua/scag refs (skill-or-expertise-selection,
  subclass-plugin, subclass-cantrip-selection, druid-cantrip-selection,
  eldritch-invocation-option, deep-gnome-option-cfg, subrace-prereq),
  #_ template refs (add-sources, artisans-tools-choice-cfg), zero-caller
  defs (levels, key-to-name, any-language-selection, charge-summary,
  defensive-duelist-summary, ability-modifiers, subclass-level-option)
- template.cljc (14): ability roller UI (6 fns + score-costs + point-buy-points),
  amazon frames (3), content-list, custom-race-builder;
  #_ subscribe/dispatch refers (no live callers remain)

Redundant expression fixes:
- classes.cljc: remove nested (str (str ...))
- options.cljc: flatten (and (and ...)) in dual-wield checks,
  remove duplicate source destructuring param
#_ discard 49 dead vars:
- views.cljs (25): style defs (header-tab-style, desktop-menu-item-style,
  search-icon-style, transparent-search-input-style, row-style, light-row-style,
  list-style, thumbnail-style, summary-style, option-pack-styles, invalid-styling),
  duplicate constants (rounds-per-minute, minutes-per-hour, hours-per-day),
  superseded components (srd-link, realize-char, svg-icon-section, compare-spell,
  equipment-section, default-image, select-builder-field, text-field,
  subrace-damage-resistance, selection-selector, no-https-images)
- events.cljs (22): dead defs (max-iterations, dnd-5e-characters-path,
  validate-registration, set-active-tabs, remove-subtypes), 17 never-dispatched
  reg-event-db/fx handlers (toggle-public, load-characters, hide-warning,
  open-orcacle, set-builder-item, set-spell-list, set-feature-prop,
  toggle-feat-selection, toggle-*-value-prop, toggle-*-map-prop, etc.);
  remove unused tab-path refer
- db.cljs (1): musical-instrument-choice-cfg (duplicate of classes.cljc)
- subs.cljs (1): ::char5e/summary reg-sub (never subscribed to)

Redundant expression fixes:
- views.cljs: remove (str ...) wrapping bare strings
- character_builder.cljs: remove (str "CLICK HERE...") on 4 string literals
- events.cljs: remove (str "all-content.orcbrew") on 2 string literals
Merge the top-level :clojure-lsp/unused-public-var into the :linters
section where clj-kondo actually reads it. Add missing settings from
the lint-missing-else branch: :output exclude-files, garden.selectors
unresolved-var, read-string exclude, folder-test/with-conn lint-as,
and :missing-else-branch :warning.
Removed broken with-conn lint-as, added orcpub.errors unresolved-var
exclude, added spell_subs cross-file refs to unused-public-var exclude.
The def was incorrectly marked as dead code, but the legal footer
in main-page still references it. Remove the #_ reader discard and
the stale "dead" comment.
lint: dead code cleanup + redundant expression fixes
@pull pull bot locked and limited conversation to collaborators Feb 20, 2026
@pull pull bot added the ⤵️ pull label Feb 20, 2026
@pull pull bot merged commit e775c5a into datdamnzotz:develop Feb 20, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants