ember-cli / ember-cli/eslint-plugin-ember

routes-segments-snake-case: doesn't accept models names with dashes

Open
#164 0 comments 3 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
263
Forks
214
Avg merge
30m
Merged PRs (30d)
5

Description

```js
this.route('image-editor', { path: 'image-editor/:dia-image_id' });
this.route('image-editor', { path: 'image-editor/:diaImage_id' });
```

Both forms are valid and resolve to the model named `dia-image`, however `routes-segments-snake-case` doesn't seem to like it.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.