help wanted
仓库指标
- 星标
- (3,127 个星标)
- PR 合并指标
- (平均合并 2天 1小时) (30 天内合并 12 个 PR)
描述
Pint Version
1.22
PHP Version
8.2
Description
Add the ability to set the spaces to 2 spaces like php-cs-fixer does. Currently, Pint forces the user into using 4 spaces without the ability to change it. Pint overrides VS Code's .editorconfig, settings.json, *.code-workspace, nor provides the ability to use php-cs-fixer's setIndent(...)
Please add this ability.
Steps To Reproduce
- Create a new Laravel project with Pint enabled
- Open project with VS Code
- Set the IDE to use 2 spaces via
.editorconfig,settings.json, or*.code-workspace - Run pint
Outcome:
System enforces 4 spaces