You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm contributing to a Prettier plugin for Solidity files.
In Solidity the tabWidth is 4 usually. Therefore it's been exported as the default configuration in our plugin.
prettier-atom respects this, however prettier-vscode is ignoring it and we are forced to use a prettier.config.js file for this.
Summary
I'm contributing to a Prettier plugin for Solidity files.
In Solidity the
tabWidth
is 4 usually. Therefore it's been exported as the default configuration in our plugin.prettier-atom
respects this, howeverprettier-vscode
is ignoring it and we are forced to use aprettier.config.js
file for this.Github Repository to Reproduce Issue
Here is the example repo
https://github.com/Janther/tabWidth
Steps To Reproduce:
prettier-vscode
installed and format on save configured.contracts/Migrations.sol
file.Expected result
tabWidth
should be 4.Actual result
tabWidth
is 2.Additional information
This is the
prettier.config.js
file that has the default config forprettier-plugin-solidity
.VS Code Version: 1.38.1
Prettier VSCode: 2.2.2
Prettier: 1.18.2
Prettier Plugin Solidity: 1.0.0-alpha.32
OS and version: MacOS 10.14.6
The text was updated successfully, but these errors were encountered: