TYPO3-Documentation / T3DocTeam

This repository is for the Documentation Team. To contribute, please see CONTRIBUTING.md For help and support on TYPO3, please see: https://typo3.org/help/
3 stars 1 forks source link

Inconsistent Indenting 3 + 4 + 2 spaces #191

Closed sypets closed 2 years ago

sypets commented 2 years ago

Duplicate.


It is difficult to fix #150 because of the inconsistent indenting in general, specifically a mix of 3 and 4 spaces, especially in TCA and TSconfig.

We discussed this several years ago and the official policy was 3 spaces, but there is considerable resistence and rejection against this where developers often prefer the 4 spaces. However, 3 spaces is in the .editorconfig, it is the official policy.

I think it would be a good idea to revisit this and possibly switch to 4 spaces indents.

I found pages with 2 indents too: https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/ApiOverview/Services/Developer/ServiceApi.html

sypets commented 2 years ago

duplicate: there is already an issue: https://github.com/TYPO3-Documentation/TYPO3CMS-Guide-HowToDocument/issues/145