kitze / custom-react-scripts

[DEPRECATED, use customize-cra] Allow custom config for create-react-app without ejecting
https://custom-react-scripts.netlify.com
MIT License
991 stars 96 forks source link

Remove experimental decorators warning in vs code #70

Closed jwamsterdam closed 7 years ago

jwamsterdam commented 7 years ago

I have enabled experimental decorators in the .env file, but how do I remove the red warnings underlining my code in vs code?

kitze commented 7 years ago

http://stackoverflow.com/questions/38271273/experimental-decorators-warning-in-visual-studio-code

jwamsterdam commented 7 years ago

The link provided by Kitze did not work for me. This one did work: https://ihatetomatoes.net/how-to-remove-experimentaldecorators-warning-in-vscode/

{
    "compilerOptions": {
        "experimentalDecorators": true,
        "allowJs": true
    }
}