Hi, I'm new to shopify app development. I want to validate a theme but I got so many errors stating that my variables are undefined.
Bug Description
I declared some variables in file A. Then, in file B, I render file A, and use those variables afterwards. But in theme check, it says that the variables are undefined.
Expected
Theme check should recognize those variables and does not mark them as offenses.
Actual
The variables are undefined according to theme check.
Screenshot
Debugging information
OS [e.g. Windows, Mac, Linux]: Linux
Version (output of theme-check --version in a terminal): 1.15.0
Additional context
I am not sure if I installed the tools correctly, but here's what I ran:
Hi, I'm new to shopify app development. I want to validate a theme but I got so many errors stating that my variables are undefined.
Bug Description
I declared some variables in file A. Then, in file B, I render file A, and use those variables afterwards. But in theme check, it says that the variables are undefined.
Expected
Theme check should recognize those variables and does not mark them as offenses.
Actual
The variables are undefined according to theme check.
Screenshot
Debugging information
theme-check --version
in a terminal): 1.15.0Additional context
I am not sure if I installed the tools correctly, but here's what I ran: