1. SvelteKit - added ignore for cache directory
2. .env.example - included for documentation
3. Vite - added ignore for log files
4. Firebase - added ignore for cache directory
Add ruff cache.
ruff tool: https://github.com/charliermarsh/ruff
ruff is becoming a very popular tool often run in pre-commit and aim to replace Flake8 (plus dozens of plugins), isort, pydocstyle, yesqa, eradicate, pyupgrade, and autoflake, all while executing tens or hundreds of times faster than any individual tool.
Added undo-tree, which is a popular package for undoing changes made to a file. It leaves hidden files everywhere, and can litter up a repository if not ignored.
I have to add `*.~undo-tree~` to every `.gitignore` file in every repository I am working in. As you can guess, this gets very tedious.
- it is contained within `node_modules/`, which is already ignored
- the previous versions, which were not in `node_modules/`, did not have a period at the beginning of the filename
Changelog with proof here:
ba4b2db1f2/pnpm/CHANGELOG.md (L3330)
Unity packages were already ignored, but it seems in recent versions of Unity these also generate meta files for these. If the meta file isn't also ignored, the person who imports an asset containing a .unitypackage file could accidentally commit the meta files. For another who downloads those meta files, Unity would automatically delete them since they don't have the .unitypackage. The the importer commits them again and the cycle goes on and on until someone like me gets fed up.
This fixes that inconsistency by adding the *.unitypackage.meta to the ignore list.
- microbundle hasn't used these directories in 3+ years
- d0e66da957
- and rollup-plugin-typescript2, which microbundle depends on and which
actually created the dirs, hasn't used them in ~3 years either
- ffda2e539b
- I help maintain rpt2 and formerly solo-maintained TSDX for ~1.5 years,
which, as a fork of microbundle, has similarly used those directories
in the past until I changed them
- 55c0d47c0b