💼 This rule is enabled in the following configs: ✅ recommended, strict-gjs, strict-gts.
Require valid named block naming format.
Named blocks in yield and has-block helpers should follow a consistent naming format.
This rule forbids the following (with default camelCase):
This rule allows the following (with default camelCase):
camelCase(default) - Named blocks should use camelCase formatkebab-case- Named blocks should use kebab-case format
// .eslintrc.js
module.exports = {
rules: {
'ember/template-require-valid-named-block-naming-format': ['error', 'camelCase'],
},
};