Repository navigation
Commit bc05837
Exclude vendored Jekyll gems from lint
The new lint step failed on third-party JavaScript, not ours:
vendor/bundle/ruby/3.3.0/gems/jekyll-4.4.1/lib/jekyll/commands/serve/
livereload_assets/livereload.js
1:221 error Missing semicolon semi
ruby/setup-ruby runs with bundler-cache: true, which vendors gems into
vendor/bundle before the lint step, so ESLint sees Jekyll's minified
livereload.js. The directory is already in .gitignore, but ESLint flat
config does not read .gitignore, so the ignore has to be repeated in
eslint.config.mjs. This is invisible locally, where vendor/ does not
exist.
Also ignores .jekyll-cache and any _site output for the same reason.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WWCBtvyCpxc2aqtyLDhDeE1 parent 3a7ec8e commit bc05837
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
13 | 20 | | |
14 | 21 | | |
15 | 22 | | |
| |||
0 commit comments