Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify indentation when infusing #246

Open
mrleblanc101 opened this issue Oct 25, 2022 · 2 comments
Open

Specify indentation when infusing #246

mrleblanc101 opened this issue Oct 25, 2022 · 2 comments

Comments

@mrleblanc101
Copy link
Contributor

mrleblanc101 commented Oct 25, 2022

How do I use 4 space indentation instead of 2 space when infusing ?
I tried to add --prettier=./.prettierrc when infusing, but it doesn't seem to work.

// .prettierrc
{
    "printWidth": 120,
    "tabWidth": 4,
    "semi": true,
    "singleQuote": true,
    "trailingComma": "all"
}
@mrleblanc101 mrleblanc101 changed the title Specify indentation when extrating and infusing Specify indentation when infusing Oct 25, 2022
@mrleblanc101
Copy link
Contributor Author

The same would be nice for extracting, but not necessary.

@mrleblanc101
Copy link
Contributor Author

The plugin seem to detect the prettier file and load it correctly, but the replaced string still use 2 space for indentation.
Capture d’écran, le 2022-10-25 à 17 14 24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant