https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24774 Bug ID: 24774 Summary: Specify 2 space indentation for JSON files in .editorconfig Change sponsored?: --- Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Developer documentation Assignee: koha-bugs@lists.koha-community.org Reporter: lari.taskula@hypernova.fi QA Contact: testopia@bugs.koha-community.org
From Bug 12545
It'd be usefull to have a .editorconfig [1] file, that enforces some of our coding guidelines, in the source tree top level.
Those developers that have their editors configured to honour the file, will benefit. Those that wouldn't use it, won't get bothered by the addition. So, a harmless addition that would benefit those that are interested.
There are plugins for several major editors: - Emacs - Vim - SublimeText - and so on...
Editors using .editorconfig by default set 4 space indentation in JSON files although we have typically been using 2 spaces. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.