-1

I'd like the rubymine builtin warnings/linting/etc.. to follow the ECMAScript 2022 version. For instance, I want it to recognize that Error can take a second argument like

new Error("Wrapped error object", {cause: e})

This doesn't seem to be supported in the default dropdown options (Languages & Frameworks > Javascript lists 6+ as the most modern version in the 2025.2.4 release) however I can also select a file for my javascript version but I can't find documentation for this. What kind of file does it expect to specify a javascript language version and is there some place I could download a file specifying a more recent version of the language?


Looking at the contents of the js/typescript plugin I think that the builtin inspections use ESLint under the hood. I know I can use ESLint instead of the builtin inspections but I want to be able to preserve all the config I did in rubymine in enabling/disabling inspections, setting severity (including custom severity and visual appearances).

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.