How do I disable: [js] File is a CommonJS module; it may be converted to an ES6 module

This is a new feature added in Visual Studio Code called “Suggestion Code Actions”. “Suggestion Code Actions” are enabled by default in JavaScript and TypeScript.

You can disable them by setting: "typescript.suggestionActions.enabled": false or "javascript.suggestionActions.enabled": false in your user/workspace settings. The documentation can be found here.


(Image provided by Yusuf Yaşar.)

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)