invocable-blacklist.md

January 4, 2019 ยท View on GitHub

invocable-blacklist

Disallow certain components or helpers from being used. Use case is you bring in some addon like ember-composable-helpers, but your team deems one or many of the helpers not suitable and wants to guard against their usage.

Given a config of:

'invocable-blacklist': ['foo']

This rule forbids the following:

{{foo}}
{{#foo}}{{/foo}}

Configuration

  • array of strings - helpers or components to blacklist