1 min read

Using EditorConfig to improve coding style consistency

EditorConfig has been around for almost a decade at this point. It is widely supported by many editors natively and many more with plugins.

Using EditorConfig to improve coding style consistency
Isaac Bythewood Isaac Bythewood
2022-05-21

EditorConfig has been around for almost a decade at this point. It is widely supported by many editors natively and many more with plugins. You can find more information about their support editors on EditorConfig's site. My current configuration looks something like this.

I currently use a standard .editorconfig on all of my projects and the only exceptions are Python and Markdown since I prefer an indent size of 2 but Python's community has standardized around 4 spaces. Markdown also has an odd way of adding line breaks by adding a space at the end of a line so I have to avoid stripping that extra whitespace.


Some posts in similar tags to this one.

Capturing screenshots with Chromium using Python
Capturing screenshots with Chromium using Python
Sometimes you need to take screenshots of the web and Chromium provides an easy way to do that.
Isaac Bythewood Isaac Bythewood
2022-08-06
Code formatting a Python project in 2022
Code formatting a Python project in 2022
For those who want a quick solution without reading all of PEP 8. The Black Python module has a fully automated solution for you.
Isaac Bythewood Isaac Bythewood
2022-07-30
Finding broken external links on websites using Scrapy
Finding broken external links on websites using Scrapy
Broken links are a problem for any content driven website as it ages, find them quickly and easily with Scrapy.
Isaac Bythewood Isaac Bythewood
2022-07-23