Skip to content

jsconfig.json not working for es6 support #2942

@cfjedimaster

Description

@cfjedimaster

I've got a file in /app/providers/rss-service.js that uses import. I've got red lines under each instance of it with this message:

'import' is only available in ES6 (use esnext option)

I've added a /jsconfig.json with compilerOptions.target being "ES6" (which is apparently the default?) and the error does not go away. I've tried restarting VSC but it doesn't help.

Also - and I can file a separate bug for this - but shouldn't I be able to put this file in .vscode instead so as to not clutter my project code?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions