Skip to content

style: enforce blocks and non-compressed statements - #187

Merged
the1mills merged 1 commit into
devfrom
style/enforce-blocks-no-compression
Sep 26, 2026
Merged

the1mills merged 1 commit into
devfrom
style/enforce-blocks-no-compression

Conversation

@the1mills

Copy link
Copy Markdown
Collaborator

Makes the canonical ORE code-style guide machine-visible at the repo level.

Adds ESLint warnings for:

  • curly: ['warn', 'all'] — explicit blocks for control flow;
  • max-statements-per-line: ['warn', {max: 1}] — no cramming multiple statements onto one line.

This is intentionally configured in the repo-level eslint.config.mjs, not the managed .ores-lint bundle. The workflow remains warn-only while existing debt is cleaned incrementally.

@the1mills
the1mills marked this pull request as ready for review September 26, 2026 17:08
@the1mills
the1mills merged commit 78ece05 into dev Sep 26, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant