idearium / eslint-config-idearium

Idearium ESLint config.
MIT License
0 stars 1 forks source link

Update object curly newline rule to force line breaks #9

Open allanchau opened 6 years ago

allanchau commented 6 years ago

@smebberson What do you think about updating the linter to force new lines within objects. I think this would improve readability in git when changing elements within the object.

module.exports = {
    createMemberInRecurly,
};

// Bit harder to see what has changed in git because the whole line is highlighted as well as the change
module.exports = { createMemberInRecurly };