Skip to content

build,meta: rearrange and narrow git ignore rules

Rodrigo Muino Tomonari requested to merge github/fork/refack/gitignore++++ into master

Non trivial change to .gitignore

  • Add file header
  • Add section headers
  • Add comments
  • Group and rearrange rules by role
  • Narrow rules that refer to files in the root folder
  • node_modules rules based on https://github.com/nodejs/node/pull/27670
  • Remove old and unused rules (/coverage, iojs, tmp)

might need more validation by human developers different platforms

as documented in the file: To test conflicts, run git ls-files -i --exclude-standard. To check why a specific file is ignored, run git check-ignore -v [-n] [--no-index] <filepath> .

/CC @nodejs/build-files @nodejs/documentation @nodejs/testing @nodejs/linting

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • documentation is changed or added
  • commit message follows commit guidelines

Merge request reports

Loading