Open CordMemescape opened 3 weeks ago
Note that the hotlinks to #46 and #47 are incorrect as Github has referenced theme for stacked rather than stacked_cli. Unfortunately it is not possible to create an issue in the stacked_cli project.
The links that you actually want are:
https://github.com/Stacked-Org/cli/pull/46 https://github.com/Stacked-Org/cli/pull/47
Also note, this appears to be happening for stacked create view
commands. I've run stacked generate
and it behaves as expected.
Thanks Cord. Will add to the list of fixes
I think we can pass in the line length or set it in the config, we probably didn't update the config.
Describe the bug
After updating to stacked_cli 1.13.1,
line_length
variable instacked.json
appears to be ignored. Files auto-generated by Stacked are being formatted with a default line length of 80.It appears that the PR #46 and merge #47 in the stacked_cli project have undone this behaviour that was once working.
What operating system do you use?
macOS
Information about the installed tooling
Steps to reproduce the issue
line_length
to150
in stacked.jsonstacked create view layoutOne --template=empty
in an existing projectstacked create view LayoutTwo --template=empty
in an existing projectExpected behavior
Expected the line length defined in stacked.json to be honoured and all generated files created with stacked_cli 1.13.1 to be correct.
Screenshots
No response
Additional Context
No response