Eject eslint config

Hi,

Is there a way to ‘eject’ the eslint config from the grafana-toolkit, this would have multiple advantages:

  • you can actually customise the linting rules
  • if there actually was a file the IDEs could actually help by highlighting problems and auto-fix some of them (you don’t have to wait for it to fail compilation to see that there is an error)
  • i am creating a monorepo for the panels using nx to manage a collection of panels, but when trying to create a shared library, grafana-toolkit breaks (somehow it picks up the eslint config from nx and breaks the build)

Thanks

Unfortunately, the Grafana Toolkit doesn’t support monorepos at this point.

Most likely it breaks because the toolkit globs for every eslint file in the current working directory and selects the first one.