Repository navigation
Commit 3f29a16
authored
improvement(lint): strip comment noise and add check:comment-hygiene (#8551)
* chore(lint): delete commented-out code
Removes dead sub-block configs from the Human in the Loop and Greptile
blocks and an unused commented-out DisplayMode type. The docs generator
read the commented-out greptile_search entry in tools.access, so the
generated Greptile docs advertised a disabled operation; regenerated.
* improvement(audits): add check:comment-hygiene
Fails on banner separator comments and on line comments whose text
parses as TypeScript (commented-out code). Comments come from the Babel
token stream so strings are never inspected; prose lines split comment
groups, and labels, literals and one-off glosses are rejected, giving
zero false positives across the tree. Change-history phrasing was
measured and left out because most hits describe live state.
* chore(lint): remove banner separators and narrating comments
Converts decorated section banners to plain comments or drops them, and
sweeps the noisiest files for comments that restate the code or name
what follows. Field-level notes that carry units, enums or invariants
move to TSDoc. Comment-only: the non-comment token stream of every
changed file is identical.
* fix(audits): fail comment-hygiene on unparsable files, raise listing buffer, correct ribbon arc note1 parent 31503c5 commit 3f29a16
94 files changed
Lines changed: 804 additions & 3314 deletions
File tree
- apps
- docs
- components
- content/docs/integrations
- realtime/src/database
- sim
- app/workspace/[workspaceId]/w/[workflowId]
- hooks
- blocks/blocks
- components
- hooks
- lib
- api/contracts
- core
- oauth
- pptx-renderer
- model
- nodes
- parser
- renderer
- shapes
- table/query-builder
- uploads/utils
- workflows/editing
- stores/terminal
- tools
- ahrefs
- clerk
- datadog
- github
- kalshi
- okta
- profound
- thrive
- wordpress
- x
- packages
- audit/src
- db
- deployment-config/src
- sim-cli/src/contract
- testing/src/mocks
- scripts
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9613 | 9613 | | |
9614 | 9614 | | |
9615 | 9615 | | |
9616 | | - | |
| 9616 | + | |
9617 | 9617 | | |
9618 | 9618 | | |
9619 | 9619 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | 56 | | |
86 | 57 | | |
87 | 58 | | |
| |||
0 commit comments