Help configuring rubocop, eslint, and so on in vscode and the command line

Jay,

frustrating, huh?

What I do for this kind of thing is:

  • examine the CI workflows for a popular plugin
  • look at the associated config in the root of the plugin

You can see what my linting tests for Chatbot do here:

I believe you can run eslint and prettier from the plugin directory, but rubocop can be run from the discourse directory.

If this solves your problem please feel free to convert this to a Development Topic and you are welcome :slight_smile:

1 Like