azz / prettier-tslint

Code ➡️ prettier ➡️ tslint --fix ➡️ Formatted Code ✨
https://npm.im/prettier-tslint
MIT License
225 stars 13 forks source link

[prettier-vscode] max-line-length does not work in 2024 #57

Open lugui1998 opened 3 days ago

lugui1998 commented 3 days ago

After coming across the issue of setting "prettier.printWidth": 160 on vscode's settings.json and yet, the fomater still defualts to the value of 80 I have come across this issue: https://github.com/azz/prettier-tslint/issues/15

The proposed workaround to create a file .prettierrc with: "printWidth": 160 do work. Regardless of that, I want to be able to set this parameter globally on my editor rather than creating this file individually for each project.