Skip to content

Add no-runtime-template-compiler rule

Mark Florian requested to merge rule-no-runtime-template-compiler into master

This is useful if you don't include the runtime template compiler in your site/application, and want to prevent components from relying on it.

This can find false positives in the case that a component extends another one, and inherits its render function (or <template> tag). In practice, in gitlab-org/gitlab, this means two false positive results:

The rule could be extended with heuristics to check for this case, but that's a lot more work, when it's easy enough to ignore those particular files.

Addresses #24 (closed).

Edited by Mark Florian

Merge request reports