infacto
infacto
In my case just add the following to your *settings.json* of VSCode: ```json { "stylelint.validate": ["css", "scss"] } ``` [More info](https://github.com/stylelint/vscode-stylelint#%EF%B8%8F-only-css-and-postcss-are-validated-by-default) (I use the plugin `stylelint-scss` instead of `postcss-scss`). Make...
The close label indicator feature is great, but it's really annoying that it's hard to distinguish from real comments. My current solution is adding this to *settings.json*: ```json { "workbench.colorCustomizations":...
I'm wondering why the existing pull request isn't being merged or rather why the developers aren't writing a single word about it. Anything is better than no response. Consider to...
np, I think I was a bit annoyed because it's an input element, which should have a disabled attribute. I'm fine with my workaround. I'm not sure if the current...
A bit late, but I think this is more a bug than a feature, isn't it? Something what should be fixed.
Looks interesting, thanks for the hint. I see some parallels to Mockito. It's maybe something I'm looking for. I'll test it soon. Not sure if I finally use [ts-mockito](https://github.com/NagRock/ts-mockito) or...
I would not provide an option. Because this are just member names of the enum which are scoped by the enum name. I would treat it as bug. ```ts enum...
@bradzacher Ok, thanks. Good to know. I thought you have to access only with `B = Test.A`. *sigh* [TS Playground](https://www.typescriptlang.org/play?#code/MYewdgzgLgBAgjAvDATAbgFAFMwFcC2MAKltDAN4YzxIwCMANFTAEK1xMC+2ehJ0KCswDCtAMwZOQA) Hmm 🤔 but an enum member value must be number...
@bradzacher I wonder I cannot reproduce this issue in [playground](https://typescript-eslint.io/play/#ts=4.7.4&sourceType=module&code=KYOwrgtgBAKsDOAXKBvAsAKClA8iYUAvFAOQ4ByAoiQDSbYwDuA9kaTAOo632wAWAJ2AFiJGAAkASpWqYAvpkyhIsFql4AxZmAFsSGnAFVJJeYowBjZiCRQAgmwBMAbiXhocJI-VZ7bAIx0vgBCbHZmGEA&eslintrc=N4KABGBEBOCuA2BTAzpAXGUEKQHYHsBaZACwEMATfAd3SnwDMHIAacbSAAQBcBPABxQBjaAEt+3Qinijc3APQFi5KrQyRqZaLkjsAviD1A&tsconfig=N4KABGBEDGD2C2AHAlgGwKYCcDyiAuysAdgM6QBcYoEEkJemy0eAcgK6qoDCAFutAGsylBm3TgwAXxCSgA). In my project I use exactly the same config and version. In VSCode it shows that Test.Two and enum Two...
Btw. only numeric enums can have computed memebers. So [this](https://www.typescriptlang.org/play?#code/MYGwhgzhAECC0G8BQ1oAcCuAjEBLY0EALmEftAG5ggYCmA8gGYAUAlAFzQB2GAtlrQBOiFKmiDaRDIK7QARCAD2IaEQAWuGAHdFXAORFoOwQGs5AblEBfJDaS0AHmkWDDtHr2gAVWsRGp4AF5oAEYAGlEAIWhg2AA6KhoGFlYImyA) will not work. But [this](https://www.typescriptlang.org/play?#code/MYGwhgzhAECC0G8BQ1oAcCuAjEBLY0EALmEftAG5ggYCmA8gGYAUAlAFzQB2GAtlrQBOiFKmiDaRDIK7QALACYA3KIC+SdUloAPNAHtBRaLR69oAFVrERqeAF5oARgA0ogELQHsAHRUaDFlZXdSA) works. But yes, we see that TypeScript compiles to using this: `Test.A.valueOf()` for `Test.B`.