(node)
| 155 | |
| 156 | return { |
| 157 | CallExpression(node) { |
| 158 | if (/test-/.test(context.getFilename())) { |
| 159 | return; |
| 160 | } |
| 161 | |
| 162 | const {callee} = node; |
| 163 | if (callee.type !== 'Identifier') { |
| 164 | return; |
| 165 | } |
| 166 | |
| 167 | if (staticTemplateTags.has(callee.name)) { |
| 168 | return tagCannotBeCalled(node); |
| 169 | } |
| 170 | if (staticTemplateFactoryFns.has(callee.name)) { |
| 171 | return factoryUsage(node); |
| 172 | } |
| 173 | }, |
| 174 | |
| 175 | TaggedTemplateExpression(node) { |
| 176 | const {tag} = node; |
nothing calls this directly
no test coverage detected