Opinionated OCaml linter with Merlin integration for code quality, naming conventions, and style checks
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

merlint: regenerate docs to expose E520 and E521 rule cards

Both rules were added to lib/data.ml + lib/rules/{e520,e521}.ml in
prior commits but docs/index.html was not re-generated. This catches
the static site up.

+14
+14
docs/index.html
··· 1343 1343 </div> 1344 1344 <div class="error-hint"><p>Libraries and tests should be in separate directories for clear project structure. Put library code in lib/ and tests in test/. Using explicit (modules ...) to co-locate them in the same directory is discouraged.</p></div> 1345 1345 </div> 1346 + <div class="error-card" id="E520"> 1347 + <div> 1348 + <span class="error-code">E520</span> 1349 + <span class="error-title">Library directory should be lib/, not src/</span> 1350 + </div> 1351 + <div class="error-hint"><p>The monorepo convention is lib/ for library code. Rename src/ to lib/ with `git mv`; no dune changes are needed because dune auto-discovers modules in either directory.</p></div> 1352 + </div> 1353 + <div class="error-card" id="E521"> 1354 + <div> 1355 + <span class="error-code">E521</span> 1356 + <span class="error-title">Cram test outside test/cram/</span> 1357 + </div> 1358 + <div class="error-hint"><p>Move cram tests (.t files or .t/ directories) under the package's test/cram/ umbrella. Shared driver exes go in test/cram/helpers/; shell setup goes in test/cram/helpers.sh (sourced via (setup_scripts helpers.sh)).</p></div> 1359 + </div> 1346 1360 <h2 id="testing">Testing</h2> 1347 1361 <div class="category">E600-E699 • Test coverage and test quality issues</div> 1348 1362 <div class="error-card" id="E600">