aboutsummaryrefslogtreecommitdiffstats
path: root/.editorconfig
Commit message (Collapse)AuthorAge
* editorconfig: add indentation rulesLibravatar Kelvin M. Klann2023-02-20
| | | | | | | | | | Commands used to list the file extensions used in the project: $ git ls-files | sed -En 's/.*(\.[^.]+)$/\1/p' | LC_ALL=C sort | uniq -c For rules that are more specific to a given directory, put a dedicated .editorconfig file in it.
* Add .editorconfig with basic rules for all filesLibravatar Kelvin M. Klann2023-02-20
This should make it easier to avoid whitespace errors, as long as the editor used supports it (either natively or through a plugin). See the editorconfig website for the editors that support it: * https://editorconfig.org Note: All text files appear to already be using LF and UTF-8 (or ASCII): $ git ls-files --eol | grep -v -e '^i/lf w/lf' \ -e 'i/none w/none' -e 'i/-text w/-text' i/ w/ attr/text=auto eol=lf ci/check/profiles/sort.py $ git ls-files -z | xargs -0 file -i -h | sed 's/[^:]*: *//' | grep -v -e 'charset=binary' -e 'charset=us-ascii' | LC_ALL=C sort | uniq -c 1 text/html; charset=utf-8 2 text/plain; charset=utf-8 1 text/x-c; charset=utf-8