cd docs && bundle exec rubocop, and the Docs Lint job in .github/workflows/main.yml that runs the same thing, print Inspecting 0 files … no offenses detected and exit 0. The root .rubocop.yml has AllCops: Exclude: - docs/**/* (line 11). RuboCop merges AllCops/Exclude from ancestor configs into a subdirectory's own .rubocop.yml, so the docs tree excludes itself. Reproduced on a clean checkout and with a minimal two-directory repro outside it.
Fix shape: scope the root exclusion so it does not reach the docs run (RuboCop's inherit_mode with override for Exclude in docs/.rubocop.yml, or drop docs/**/* from the root AllCops and rely on the root invocation being rubocop lib spec as CI already does), then confirm cd docs && bundle exec rubocop inspects a non-zero file count.
Found by the pre-PR gate while seeding the lode (see the chore: seed the lode PR); lode/workflow.md and lode/testing-and-ci/summary.md state the current behaviour and link here.
cd docs && bundle exec rubocop, and theDocs Lintjob in.github/workflows/main.ymlthat runs the same thing, printInspecting 0 files … no offenses detectedand exit 0. The root.rubocop.ymlhasAllCops: Exclude: - docs/**/*(line 11). RuboCop mergesAllCops/Excludefrom ancestor configs into a subdirectory's own.rubocop.yml, so the docs tree excludes itself. Reproduced on a clean checkout and with a minimal two-directory repro outside it.Fix shape: scope the root exclusion so it does not reach the docs run (RuboCop's
inherit_modewithoverrideforExcludeindocs/.rubocop.yml, or dropdocs/**/*from the rootAllCopsand rely on the root invocation beingrubocop lib specas CI already does), then confirmcd docs && bundle exec rubocopinspects a non-zero file count.Found by the pre-PR gate while seeding the lode (see the
chore: seed the lodePR);lode/workflow.mdandlode/testing-and-ci/summary.mdstate the current behaviour and link here.