Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions .changeset/no-bare-date-now.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/no-historical-comments.md

This file was deleted.

10 changes: 10 additions & 0 deletions eslint-plugin-code-flow/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @boring-stack-pkg/eslint-plugin-code-flow

## 0.2.0

### Minor Changes

- [#7](https://github.com/boringstack-xyz/eslint-plugins/pull/7) [`77598f4`](https://github.com/boringstack-xyz/eslint-plugins/commit/77598f47b27b07925319c9b1f22987e896bc9380) Thanks [@agjs](https://github.com/agjs)! - Add `no-bare-date-now` rule.

Disallows direct calls to non-deterministic time/random sources (`Date.now()`, `new Date()` with no args, `Date()` with no args, `Math.random()`) outside an allowlisted set of utility paths. Determinism is required for snapshot tests, workflow replays, and time-travel debugging — every consumer should route through a typed util that can be faked in tests.

Configurable via the `allowedPaths` option (substring match against the source file path). Enabled in the `recommended` config.

## 0.1.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion eslint-plugin-code-flow/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@boring-stack-pkg/eslint-plugin-code-flow",
"version": "0.1.2",
"version": "0.2.0",
"description": "ESLint plugin for control-flow style rules: guard clauses over wrapped happy paths, etc.",
"type": "module",
"packageManager": "pnpm@10.33.0",
Expand Down
10 changes: 10 additions & 0 deletions eslint-plugin-comment-hygiene/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @boring-stack-pkg/eslint-plugin-comment-hygiene

## 0.2.0

### Minor Changes

- [#7](https://github.com/boringstack-xyz/eslint-plugins/pull/7) [`77598f4`](https://github.com/boringstack-xyz/eslint-plugins/commit/77598f47b27b07925319c9b1f22987e896bc9380) Thanks [@agjs](https://github.com/agjs)! - Add `no-historical-comments` rule.

Flags source comments that frame code relative to what it used to do or to a past incident — `Codex flagged X`, `before the fix`, `after the refactor`, `we used to`, `no longer`, `kept for backwards compat`, `historically`, `Alpine-era workaround`. Source comments must describe the current invariant; history belongs in the commit message or PR description where it stays pinned to the diff it describes.

Enabled in the `recommended` config.

## 0.1.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion eslint-plugin-comment-hygiene/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@boring-stack-pkg/eslint-plugin-comment-hygiene",
"version": "0.1.2",
"version": "0.2.0",
"description": "ESLint rules that catch agent-generated comment patterns: narrative prose ('Here we...', 'Now we...'), PR/issue references, and similar drift-prone metadata that belongs in commit messages, not source.",
"type": "module",
"packageManager": "pnpm@10.33.0",
Expand Down