DEV Community

kay-adamof
kay-adamof

Posted on

8

How to hide or Fix; `typescript: File is a CommonJS module; it may be converted to an ES module.`

Liquid syntax error: Unknown tag 'endraw'

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

Top comments (1)

Collapse
 
maniacen profile image
Shivam Mehta

You can disable it for neovim as follows:

local lspconfig = require("lspconfig")
lspconfig.tsserver.setup({
    init_options = {
        preferences = {
            disableSuggestions = true,
        },
    },
})
Enter fullscreen mode Exit fullscreen mode

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay