(filePath: string)
| 197 | * extractor links them. (config/ + locales/ JSON have no section refs.) |
| 198 | */ |
| 199 | export function isShopifyLiquidJson(filePath: string): boolean { |
| 200 | // Allow nested template dirs (`templates/customers/login.json`), not just |
| 201 | // top-level (`templates/product.json`). |
| 202 | return /(^|\/)(templates|sections)\/.+\.json$/i.test(filePath); |
| 203 | } |
| 204 | |
| 205 | /** |
| 206 | * OTP application resource file: `<app>.app.src` (checked into every rebar3/ |
no outgoing calls
no test coverage detected