Commit graph

3 commits

Author SHA1 Message Date
Simon Ser
49af17a3e6 editorconfig: bump max line length to 100 chars
Increase the maximum line length to 100 characters, following the
kernel policy change [1]. It's still a good idea to split long
lines, but not if that degrades readability and is only a few
characters over the limit.

[1]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=bdc48fa11e46f867ea4d75fa59ee87a7f48be144

Signed-off-by: Simon Ser <contact@emersion.fr>
2023-05-11 08:58:10 +00:00
Pekka Paalanen
89f8eecc11 editorconfig: add python rules
This seems to be what the existing python file uses, and trying to write
python when your editor is constantly resetting its settings according
to the previous "incorrect" editorconfig was infuriating.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
2022-11-09 14:18:24 +02:00
Simon Ser
114fa16d44 Add .editorconfig
Signed-off-by: Simon Ser <contact@emersion.fr>
2022-03-24 01:49:12 +01:00