✅ The "extends": "plugin:ember/recommended"
property in a configuration file enables this rule.
Enforce no route path definition shadowing in Router.
This rule disallows defining shadowing route definitions.
Examples of incorrect code for this rule:
this.route('main', { path: '/' }, function () {
this.route('nested');
});
this.route('nested');
In this example from Router perspective both nested
routes are on URL /nested
.