SUZUKI Sosuke
SUZUKI Sosuke
Minimal reproduction: **Prettier 3.1.1** [Playground link](https://prettier.io/playground/#N4Igxg9gdgLgprEAuEBCAFAHSgAh5KAEwEYcAfMnAeipwDMIJs8DCAmcymnAIwEMATs3zRCAZmq1+AL2wBKANzYQAGhAQADjACW0AM7JQggRADuABUEIDKPgBtTfAJ4G1PAXzABrODADKfAC2cAAy2lBwyHT2enBuHt6+fhqe4QDmyDACAK5xILGB2pk5eXAAHhpwAtrBsPYAKlVQgtpwNtF2sWp66XZwAIrZEPBRMXkAVnplfr0DQyNIHV0gAI7zcOYmGjYgfHoAtBFwhMeqIFl82nbpAMIQgYF8yLt2dmc9UGl9AIIwWdo8bLwcxVMIRUadPIACxggTsAHUodp4HoUmA4H5rMjtAA3ZFOZ5gPSuEA43IASSICH8YGqWm+RD8MCcfQhyw0Jli8I8GmeHLaVRxkTU4ViAhgmz4aUebLyKQEYue-B4cDeag54Rg8O0hBgUOQAA4AAxqARwNbaM2S6VPRZjNQwPg8bW6-VINhqbKxepO9r2kBwQIqwgnQghPifbJSuAAMQgAkef3Szz4QIgIAAvhmgA) ```sh --parser babel ``` **Input:** ```jsx !( cond1 || // foo cond2 || // bar cond3 // baz ); ``` **Output:** ```jsx !( (...
I think this is a bug, but it is a breaking change and will be addressed in the next major version.
Thanks for the report. This is a bug that occurs outside of `// prettier-ignore` comments. **Prettier 3.2.5** [Playground link](https://prettier.io/playground/#N4Igxg9gdgLgprEAuEAzArlMMCW0AEATnAI7o7EAmAFDAIaEDmcMS+A8gEYBWc2ANPgAOhCELiEYATwDScKWwDOMQjiiN8AH3yKpAW04QANoKEM6elhICSUSnAAebKOgMSAlPmAAdKAF9fXzAjOkVFfAAxCAgvX3x8SChlQnRsCEJqOPj8AAFiMgo4Siz4gHpShIg9S1gS4VF4bCKiODpKaCMpfD0pAAVzPSUVNUZ+LM9gAP8QfhAxXGhFZFAGUQB3fuIk5BA6IzW6KSXZzkI6MABrFgBlCzgAGTU4ZFQ9xTgTs8ubszAR5BU6A+IHeehwAJSwMc4lUNXoRgAKhIoAwcHAlkhXkZ3rNFCMjHAAIroCDwF5vYHcRQOa74okksmYimzMikuC9URCDG7RQAWigcCKRRmIBUdBwRhGAGEqno6Ds9kYRXj1ASAIIwYacdDwXoSR4C8nY4EACxgeiMAHUTTh4IpfnBrgg8bgAG62qQ7MBhEWuoG2eywa5gVRCGBquzXaQEo04kAiCDvS1nIQ7EToiSu56zNTvSQcuiMOWx4FmQh5nbScSKEM4MMikRqGCWnCUGAm5AADgADLN8uRiAWi-KmcbZvROC22x2kAAmWbod4IuicDFYuNwNyUeyUe50dToQtwKKEOWa-4oOg6iAgPx+IA) ```sh --parser typescript ``` **Input:** ```tsx function required(target: Object, propertyKey: string...
I am against adding this feature. But I am not familiar with Angular, so let me ask a question. Is this rule common among people who write Angular? Or is...
Oh sorry. Next time, I'll discuss the issue before starting any work. I'm fine with closing this PR :+1:
Thank you. Just in case, I've pushed some changes that only existed my local machine.
This is a major formatting change, so I think we should hide this feature in an experimental flag(Please see https://github.com/prettier/prettier/issues/14527 about experimental flags). Then it could be shipped in v3...
prettier-vscode v9.15.0 that supports Prettier v3 has been released
@mrtnzlml Can't you detect by file and directory name? For example, if files using Flow types is in `. /flow-types/*.js` and files using Flow comments is in `. /flow-comments/*.js`, ```sh...
@mrtnzlml Honestly, we didn't know of such a use case. And I don't think it is a commonly used way either. So we may never support it. However, I understand...