* correctly handle trailing whitespace for all files, especially Markdown, without loading entire file into memory.
* update .pre-commit-config.yaml
* update ci.yaml
* update fix_trailing_whitespace.rs set default chars.
* restore ci.yaml
* update fix_trailing_whitespace.rs
* minor message style tweak
* use different buffer strategies for files based on size
---------
Co-authored-by: Jo <10510431+j178@users.noreply.github.com>
* feat: support docker language
* CI: instead using libc crate for unix
* refactor: remove regex-lite
* Tweak some style
* Avoid usage of `unwrap`
* test: docker in docker test and behavior test
* merge master
* refactor: return `path` if it can't get container_id
* ci: disable windows and macOS docker test
* fix: linux docker in windows docker, path separator don't replace
* ci: default disable docker test
* ci: update snapshot
* Style tweak
* Simplify test
* Minor
* Enable only for linux
---------
Co-authored-by: j178 <10510431+j178@users.noreply.github.com>