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

New rule: newlines between sections

Open
#109 13 comments 2 reactions 0 assignees View on GitHub
enhancement New Rule
Dominant language
JavaScript
Stars
263
Forks
214
Avg merge
30m
Merged PRs (30d)
5

Description

I am curious if it is possible to enforce that there is a newline between each section enforced by order-in-components etc. So you would have to have like:

### Bad

```js
store: service(),
fooAlias: alias('foo'),
barAlias: alias('bar'),
init(){},
actions: {}
```

### Good

```js
store: service(),

fooAlias: alias('foo'),
barAlias: alias('bar'),

init(){},

actions: {}
```

Is this possible to enforce?

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.