DEV: unpin Prettier version, apply to YAML files

We had Prettier pinned because of https://github.com/prettier/prettier/issues/5529. Since that bug is fixed, unpinning.

Prettier now supports YAML, so this applies Prettier to all .yml except for translations, which should not be edited directly anyway.
This commit is contained in:
Penar Musaraj
2019-01-17 13:05:39 -05:00
parent 77fda4dc00
commit 3501533a2b
18 changed files with 941 additions and 937 deletions

View File

@ -301,9 +301,11 @@ export default Ember.Controller.extend(CanCheckEmails, {
const bufferedIds = this.get("customGroupIdsBuffer");
const availableGroups = this.get("availableGroups");
bufferedIds.filter(id => !currentIds.includes(id)).forEach(id => {
this.groupAdded(availableGroups.findBy("id", id));
});
bufferedIds
.filter(id => !currentIds.includes(id))
.forEach(id => {
this.groupAdded(availableGroups.findBy("id", id));
});
currentIds
.filter(id => !bufferedIds.includes(id))