Skip to content

Latest commit

 

History

History
38 lines (30 loc) · 444 Bytes

no-multi-dots.md

File metadata and controls

38 lines (30 loc) · 444 Bytes

Checks dependent keys

Rule name: no-multi-dots

Check if some of dependent keys contains ...

Usage

{
  "plugins": [
    "ember-cleanup"
  ],
  "rules": {
    "ember-cleanup/no-multi-dots": 2
  }
}

Valid

Component.extend({
  prop: computed('a.b', function () {
    // ...
  })
});

Invalid

Component.extend({
  prop: computed('a...b', function () {
    // ...
  })
});