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

Nested Brace Expanded Properties

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

Description

I get errors from `ember/use-brace-expansion` with something like this:

```javascript
sampleProperty: computed(
'foo.bar.{name,place}',
'foo.baz.{thing,@each.stuff}',
'foo.qux.[]',
function() {
```

It doesn't pass until I nest them all like this:

```javascript
sampleProperty: computed(
'foo.{bar.{name,place},baz.{thing,@each.stuff},qux.[]}',
function() {
```

This does not work. Ember does not support nested brace expansion, per [this comment/code](https://github.com/emberjs/ember.js/blob/master/packages/ember-metal/lib/expand_properties.js#L45).

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.