I am trying to use ESLint for static analysis of the CubeJS data model files in the .js format. For that it would be better to declare the set of globals like cube, view, securityContext, etc used in the .js files. I am trying to add support for CubeJS in the globals repository so that anyone who wants to integrate eslint with their data models can easily use it.
What would be the easy way to list out the global variables used in the data model files by CubeJS?
I am trying to use ESLint for static analysis of the CubeJS data model files in the
.jsformat. For that it would be better to declare the set of globals likecube,view,securityContext, etc used in the.jsfiles. I am trying to add support for CubeJS in the globals repository so that anyone who wants to integrate eslint with their data models can easily use it.What would be the easy way to list out the global variables used in the data model files by CubeJS?