ember-cli / ember-cli/eslint-plugin-ember
`no-get` rule should be able to autofix even for strings containing invalid JS variable names
Open
bug
- Dominant language
- JavaScript
- Stars
- 263
- Forks
- 214
- Avg merge
- 30m
- Merged PRs (30d)
- 5
Description
The rule currently reports a violation for this situation (invalid JS variable name in path) but does not autofix. This ticket suggests implementing an autofixer for this situation.
Before:
```js
this.foo.get('bar-baz')
```
After (desired):
```js
this.foo['bar-baz']
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.