The official GitHub App: https://github.com/marketplace/renovate
The default indentation is two spaces even when .editorconfig is聽configured to聽use聽tabs, because聽tabs are聽the聽superior聽indentation聽codepoint (https://github.com/prettier/prettier/issues/7475).
Steps to reproduce the behavior:
Create repository with .editorconfig set to:
root = true
[*]
# Use tabs, because tabs are the superior indentation codepoint
# https://github.com/prettier/prettier/issues/7475
indent_style = tab
renovate.json is created with:
{
"extends": [
"config:base"
]
}
renovate.json is created with:
{
"extends": [
"config:base"
]
}
please use below in your .editorconfig file:
[*]
indent_style = tab
indent_size = 4
This should resolve your issue
@ViralRuparel That聽will still聽result in聽renovate.json being聽created with聽the聽inferior聽spaces instead聽of聽the聽superior聽tabs.
@ViralRuparel That聽will still聽result in聽
renovate.jsonbeing聽created with聽the聽inferior聽spaces instead聽of聽the聽superior聽tabs.
Working only with tabs, then below will work for you:
[*]
indent_style = tab
tab_width = 4
@ViralRuparel I don't think any of these changes work, because currently Renovate doesn't pay attention to .editorconfig when stringifying its renovate.json
@ViralRuparel I don't think any of these changes work, because currently Renovate doesn't pay attention to
.editorconfigwhen stringifying itsrenovate.json
okay!